dogamak / ttk91-rs

Crate for reading, writing, compiling and executing TTK91 code.
0 stars 0 forks source link

Expose a clean parsing API #4

Open dogamak opened 4 years ago

dogamak commented 4 years ago

Provide an API for parsing instructions and possibly other components. For simpler types like Register a simple string match might be sufficient. The parsing functionality could be exposed via the standard FromStr trait.

dogamak commented 4 years ago

More ergonomic and informative parsing error types are being implemented in #7.

dogamak commented 4 years ago

7 was merged. There are considerable changes in the parsing in #10, but they have not affected the public API.