|
|
|
|
|
by wg0
1105 days ago
|
|
I think llvm is not going to be irrlevent rather the amount of new languages that we see mostly depend on llvm IR.
That helps them to reach multiple architectures which is especially even more important since Apple moved away from x86 to ARM. Writing two backends for two different architectures would be a lot of work and then lots of platform specific optimizations therefore llvm is the present and seems to be the future for the foreseeable future as well. Besides that, we or at least I studied and was implied that hand written recursive descendant parsers are inferior way of doing things. Real world usage should always start with a grammer handed over to a parser generator (bison etc) that in turn have LR(1) algorithms driven by tables. Turns out that a of lot of widely used programming languages are moving away from LR(1) and having their parsers as hand written recursively descendent parsers. Ruby seems to be switching away from generated LR(1) parsers, more details here [0] EDIT: References. [0] https://railsatscale.com//2023-06-12-rewriting-the-ruby-pars... |
|