Creating a Lisp syntax like DSL - very small specific application - but very fast - code generation in C, Antlr a good choice?
It is necessary for many reasons that it be very fast and it will internally call a lot of C++ APIs, hence I cannot write it in a language other than C/C++.
The last time I did something in compilers was in school around 5 years ago in flex/bison.
This time however, I have to write production ready maintainable code for this task. I've been looking into Antlr for quite a while and it seems good. But I've the following concerns:-
- Is support for C/C++ target good?
- Is Antlr suitable for building a Lisp syntax like DSL?
- Overall, will it be better than using flex/bison for this particular application?
Also, if you could let me know what topics/parts of Antlr I should be really good at then it would be great.
Thanks