jzimmerman/langcc
View on GitHub ↗ ★ 1,724 C++
langcc: A Next-Generation Compiler Compiler
5 mentions on Hacker News by 3 people: 2 stories, 3 comments · first 2022-09-20 · latest 2022-09-24
20082026
-
…> Does it produce source spans for intermediate AST nodes? Yes! You can find an example in https://github.com/jzimmerman/langcc/blob/main/examples/calc... . > Can it handle operator precedence without encoding the precedence into the…
comment by jzimmerman64 · 2022-09-24 · in Langcc: A Next-Generation Compiler Compiler -
The language of BNF for langcc ( https://github.com/jzimmerman/langcc/blob/main/grammars/meta... ) provides many syntactic conveniences that are not present in a Lisp-like language, so the fact that langcc supports it is a nontrivial…
comment by jzimmerman64 · 2022-09-24 · in Langcc: A Next-Generation Compiler Compiler -
…functions, though they are not so well documented yet. I have just added an example (expr_simpl in https://github.com/jzimmerman/langcc/blob/main/examples/calc... ). > Another suggestion is to make sure the grammar preserves source…
comment by jzimmerman64 · 2022-09-24 · in Langcc: A Next-Generation Compiler Compiler -
▲ 177
Langcc: A Next-Generation Compiler Compilerstory by mpweiher · 2022-09-23 · 58 comments
-
▲ 5
Langcc: A Next-Generation Compiler Compilerstory by yurivish · 2022-09-20 · 0 comments