rust-embedded / rust-embedded/svd2rust

Integrate `form`

Open
#424 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
857
Forks
164
PR merge metrics
No merged PRs in 30d

Description

What are you think about integrate form functionality in svd2rust (optional)?

When this option is enabled we can do not merge mod TokenStreams in one (and then split with form) and write them in different files directly. I think this can give us significant speed-up in this case.

@therealprof

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the svd2rust generation path where mod TokenStreams are merged and later split with form. Clarify the optional form behavior and measure the current and proposed generation paths; done means separate output files are generated without the merge-and-split step and the speed-up is demonstrated.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.