meson-plus-plus
meson-plus-plus copied to clipboard
option parsing
Implement option parsing. This will involve turning the frontend on the options, then lowering them from ast into something different, then parsing the options from the command line, and storing them in the resistant state. for some options that will be pretty easy, for others it will be harder.
My current thought is that we'll do something like:
- DSL -> AST (shared with current passes)
- AST -> MIR (shared with current passes)
- Custom pass to reduce
option()calls into something more like what we want - store those options (this would be a good place to cache something to avoid 1..3 on rebuilds)