python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Bison reduce/reduce conflict between lambda expression and parenthesized identifier
I'm attempting to write my own programming language at the moment, and I have the following simplified grammar:
...
%%
prog: stmtlist | %empty;
block: "{" stmtlist "}";
stmtlis...
jinscoe123
Votes: 0
Answers: 1
Preferring shift over reduce in parser for language without statement terminators
I'm parsing a language that doesn't have statement terminators like ;. Expressions are defined as the longest sequence of tokens, so 5-5 has to be parsed as a subtraction, not as two statements (liter...

Moritz Mahringer
Votes: 0
Answers: 1