Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2022 (5)
20082026
  1. …> 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
  2. 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
  3. …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