Read http://www.cs.lth.se/EDA120/assignment4/parser.pdf or the documentation on parsec and several other Haskell parser writing libraries.
It's not the way I'd like to go, but it can and is done.
In reply to Re^2: Runtime introspection: What good is it?
by BrowserUk
in thread Runtime introspection: What good is it?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |