lrama icon indicating copy to clipboard operation
lrama copied to clipboard

Pure Ruby LALR parser generator

Results 38 lrama issues
Sort by recently updated
recently updated
newest added

If %union is not defined, Integer is used by default. ```c /* Value type. */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef int YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1...

Like this: https://www.gnu.org/software/bison/manual/html_node/index.html#SEC_Contents I think the markdown format is sufficient as a first step. Hopefully it will eventually generate something that can be viewed as a web page.

## Overview This PR adds a complete generic linked list implementation to stdlib.y, enabling users to immediately use list(), nonempty_list(), and separated_list() parameterized rules without writing any boilerplate code. ##...

Implements a new warning system to detect when %rule names conflict with terminal or non-terminal symbol names. This improves grammar readability and helps prevent unintended behavior.

Example: ```yacc %{ // Prologue %} %% foo: "baz" ; %% /* This is a comment ``` Bison: ``` tmp/missing.y:8.1-9.0: error: missing ‘*/’ at end of file 8 | /*...