maemre / cadmium

1 stars 0 forks source link

A better parser #11

Open maemre opened 5 years ago

maemre commented 5 years ago

The current parser using nom is not very developer-friendly or user-friendly. We may want to write a parser that is easier to maintain and that can produce better error messages. Using a parser combinator library that is not macro-based can help with the former. Also, we may use shunting-yard algorithm to allow custom operators (similar to Prolog/Haskell).