Skip to content

Major refactoring and separation of parsing/generating#1

Merged
tyler-potyondy merged 14 commits into
mainfrom
dev
Feb 27, 2026
Merged

Major refactoring and separation of parsing/generating#1
tyler-potyondy merged 14 commits into
mainfrom
dev

Conversation

@tyler-potyondy

Copy link
Copy Markdown
Contributor

Overview

This refactors the abacus parsing and code generation logic to be more readable. It also updates the state's definition, adds more verbose and descriptive error messages (for mistakes/violations of Abacus DSL). Additionally, this adds a cargo test suite.

We aren't doing anything that should vary machine to machine for these
settings so include to have a reasonable toolchain for building.
refactor logic for parsing macro input. add more descriptive error
messages on malformed macro input
Add logic for code generation that uses the parsed macro input.
Generates needed relations and types for abacus type enforcement.
Remove unstable prelude feature
It is not necessary for top level definition to specify the transitions.
Can get just from register annotations.
- Enforce sync_state via type_system and trait
- Refactor functions to make more readable
We really want a "constrained" version of the other
Read/Write/ReadWrite that allows you to specify which bitfields to
operate on.
@tyler-potyondy
tyler-potyondy added this pull request to the merge queue Feb 27, 2026
Merged via the queue into main with commit c174483 Feb 27, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant