FjordWarden
Joined 2 years ago
Karma
171
Submissions
77
Member since
Jul 11
Joined 2 years ago
The authors colleague needed a couple of tries to write a kernel extension and somehow this means something about programming. If it was not for LLMs I would not have gone back to low-level programming, this stuff is actually getting fun again. Lets check the assembly the compiler produced for the code the LLM produced.
AST is just CST minus range info and simplified/generalised lexical info (in most cases).
I use tree-sitter for developing a custom programming language, you still need an extra step to get from CST to AST, but the overall DevEx is much quicker that hand-rolling the parser.