3 ms·
You’d probably spend more time learning LLVM than what it might take you to reinvent your own parsing method. (For relatively simple cases I usually recommend f
by Koshkin 6y ago
You’d probably spend more time learning LLVM than what it might take you to reinvent your own parsing method. (For relatively simple cases I usually recommend flex and bison, they are simple tools that can do wonders.)
- perl4ever 6y agoSorry I wasn't clear. Making a backend module for LLVM would presumably allow me to translate a lot of languages into VBA or Power Automate, or maybe Power Query M which is something I'd like to do because I am not a SWE and my machine is locked down at work, and it's more interesting/amusing to work around that than to get myself into a developer position. I don't want to write a parser. Although I'm aware of bison etc. I just want to get the intermediate representation into a language I can run, so as to leverage the front end compilers.