Open KCreate opened 7 years ago
@KCreate Export the AST as Text or Image?
@oltmannsdaniel This is already possible in the current version using the --ast
option. This issue would put that option under charly tool dump ast file.ch
Ah, ok. Sorry I read it wrong. Definitely better than now.
Btw, this is how a textual AST dump looks like: https://pastebin.com/9wP678Hf
Remove the usage of the
OptionParser
and create a order-sensitive CLI interface.See: https://github.com/crystal-lang/crystal/blob/master/src/compiler/crystal/command.cr#L58
Commands should be: