3 ms·
There is no pattern matching in Java (yet). If you do the whole process in one pass like in C you can use the parser evaluation but even a simple feature like
by _old_dude_ 8y ago
There is no pattern matching in Java (yet).
If you do the whole process in one pass like in C you can use the parser evaluation but even a simple feature like lambdas requires more than one pass.
So either you use a Visitor or you develop pattern matching in your language and bootstrap it rapidly to be able to use you language to write the backend of your language.