HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
jzimmerman
langcc
C++2022–2022
jzimmerman / langcc

langcc

langcc: A Next-Generation Compiler Compiler

3Distinct people
5Mentions
0Explicit recommenders
1.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

langcc: A Next-Generation Compiler Compiler

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 6-hour interval5 dated mentions

Observed mentions: 2022-09-20 11:46:51 UTC to 2022-09-24 11:32:20 UTC.

01232022-09-20 06:00:00 UTC to 2022-09-20 12:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsSep 20, 06:002022-09-20 12:00:00 UTC to 2022-09-20 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-20 18:00:00 UTC to 2022-09-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-21 00:00:00 UTC to 2022-09-21 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-21 06:00:00 UTC to 2022-09-21 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-21 12:00:00 UTC to 2022-09-21 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-21 18:00:00 UTC to 2022-09-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-22 00:00:00 UTC to 2022-09-22 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-22 06:00:00 UTC to 2022-09-22 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 22, 06:002022-09-22 12:00:00 UTC to 2022-09-22 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-22 18:00:00 UTC to 2022-09-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-23 00:00:00 UTC to 2022-09-23 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-23 06:00:00 UTC to 2022-09-23 12:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2022-09-23 12:00:00 UTC to 2022-09-23 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-23 18:00:00 UTC to 2022-09-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-24 00:00:00 UTC to 2022-09-24 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-24 06:00:00 UTC to 2022-09-24 12:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 commentsSep 24, 06:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 20, 06:002022-09-20 06:00:00 UTC2022-09-20 12:00:00 UTC110
Sep 20, 12:002022-09-20 12:00:00 UTC2022-09-20 18:00:00 UTC000
Sep 20, 18:002022-09-20 18:00:00 UTC2022-09-21 00:00:00 UTC000
Sep 21, 00:002022-09-21 00:00:00 UTC2022-09-21 06:00:00 UTC000
Sep 21, 06:002022-09-21 06:00:00 UTC2022-09-21 12:00:00 UTC000
Sep 21, 12:002022-09-21 12:00:00 UTC2022-09-21 18:00:00 UTC000
Sep 21, 18:002022-09-21 18:00:00 UTC2022-09-22 00:00:00 UTC000
Sep 22, 00:002022-09-22 00:00:00 UTC2022-09-22 06:00:00 UTC000
Sep 22, 06:002022-09-22 06:00:00 UTC2022-09-22 12:00:00 UTC000
Sep 22, 12:002022-09-22 12:00:00 UTC2022-09-22 18:00:00 UTC000
Sep 22, 18:002022-09-22 18:00:00 UTC2022-09-23 00:00:00 UTC000
Sep 23, 00:002022-09-23 00:00:00 UTC2022-09-23 06:00:00 UTC000
Sep 23, 06:002022-09-23 06:00:00 UTC2022-09-23 12:00:00 UTC110
Sep 23, 12:002022-09-23 12:00:00 UTC2022-09-23 18:00:00 UTC000
Sep 23, 18:002022-09-23 18:00:00 UTC2022-09-24 00:00:00 UTC000
Sep 24, 00:002022-09-24 00:00:00 UTC2022-09-24 06:00:00 UTC000
Sep 24, 06:002022-09-24 06:00:00 UTC2022-09-24 12:00:00 UTC303

What Hacker News says

5 sources
The README is a work in progress, but some of these answers can be found in the documentation (https://arxiv.org/abs/2209.08385). In particular: > How are the error messages? langcc produces "confusing input pairs" for LR conflicts, which enable the user to pinpoint the cause of the error much more easily than the opaque shift/reduce errors in tools such as yacc/bison. > 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 grammar? Yes - detailed in the documentation. > Can it handle source-code-defined operator precedence? Depends on what you mean by source-code-defined. The operations supported by langcc's precedence stanzas (detailed in the documentation) are q
Read the rest
uite comprehensive, and suffice to encode the operator precedence rules in Golang 1.17.8, for example.
In Langcc: A Next-Generation Compiler Compiler
> I suggest the developer also look into auto-generated visitor / traversal functions as well In fact, langcc already has visitor/traversal 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 information (file, line, column span) This is already present as well (the calc example illustrates this functionality). > implement re-printing which preserves comments and whitespace I considered doing this, but it's surprisingly difficult to get the specification right, especially in whitespace-sensitive languages like Python.
In Langcc: A Next-Generation Compiler Compiler

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.