Matthewar / ASV

A Haskell VHDL Simulation Tool
GNU General Public License v3.0
0 stars 0 forks source link

Tracking Parser Refactor #46

Open Matthewar opened 6 years ago

Matthewar commented 6 years ago

Starting with commit f8c0728ee7420eecbdc1c8e0f64905eccab145da - the parser is being refactored for better usability and complete testing before release.

Using this issue to track changes to the parser and add elements to be considered.

Matthewar commented 6 years ago

Using parsec to write parser in monadic style. Need to ensure that error messages - which are implemented in a different way, are carried across from previous method.

Matthewar commented 6 years ago

Potential errors to add:

Matthewar commented 6 years ago

Currently testing for error cases as well as valid cases, but not testing error messages, should probably check for the actual message to guarantee "readable" error messages.

Matthewar commented 6 years ago

Future consideration: How to process error recovery with parsec.

Matthewar commented 6 years ago

See issue #47

Matthewar commented 6 years ago

Need to clean generators file, to remove commented functions.

Matthewar commented 6 years ago

Will need to check this branch for any commented functions before merging (clean up any old functions not moved across but left in the code)