Could you please point me to the up-to-date extension? I learned about this in the LLVM tutorial, which I guess is using the outdated extension(?). If I would like to develop a lexer+parser for a programming language, what’s the right tool in OCaml?
Thanks for the suggestions. Part of my intention was a hand-written lexer+parser, for educational purposes, rather than using generators for both.
Is camlp5 also considered obsolete? I see the manual updated in 2017.
camlp4 and camlp5 are still used by some historic code and still updated, but you should probably not use them on new projects. If you wish to extend OCaml’s syntax, the modern mechanism to do that is the PPX facility.