crust icon indicating copy to clipboard operation
crust copied to clipboard

Use nom for parsing

Open kinggoesgaming opened this issue 5 years ago • 1 comments

nom is useful for efficiently and expressively declare parsing functionality

kinggoesgaming avatar May 28 '20 07:05 kinggoesgaming

Thanks, at the very beginning I thought it would be better to use hand-written parser for better error information, but as the progress moves on, I noticed that it would be easier to use parser generator to push the progress, since without actually generating formal IR, it's hard to add optimization or doing semantics checking, so I would consider give it a try to see whether I can push the compiler to a more formal stage. Thanks for your recommendation.

onehr avatar May 29 '20 18:05 onehr