4 ms·
> The question is, how easy is it to make syntax-driven tools? You can actually require the lexer and parser portions of the compiler in crystal code, and get
by RX14 10y ago
> The question is, how easy is it to make syntax-driven tools?
You can actually require the lexer and parser portions of the compiler in crystal code, and get an AST from a file relatively easily. The crystal compiler then has tools for easily walking the AST.