aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update CHANGELOGRyo Nihei2021-09-031-0/+16
|
* Use the LALR by default when using grammar.Compile instead of the CLIRyo Nihei2021-09-031-1/+3
|
* Add tests for LACRyo Nihei2021-09-031-0/+113
|
* Make semantic actions user-configurableRyo Nihei2021-09-037-252/+539
|
* Rename describe command to show commandRyo Nihei2021-09-022-6/+51
|
* Support LAC (lookahead correction)Ryo Nihei2021-09-027-33/+139
|
* Remove the expected terminals field from the parsing tableRyo Nihei2021-08-314-36/+20
| | | | The driver searches the expected terminals corresponding to each state if necessary.
* RefactorRyo Nihei2021-08-301-166/+216
|
* Add #prec directive to set precedence and associativity of productionsRyo Nihei2021-08-302-10/+140
|
* Add precedences and associativities to the description fileRyo Nihei2021-08-294-14/+85
|
* Add describe command to print a description fileRyo Nihei2021-08-296-172/+522
|
* Use a pattern string defined by a string literal as its aliasRyo Nihei2021-08-282-18/+49
|
* Support the escape sequecens \' and \\ in a string literalRyo Nihei2021-08-285-23/+98
|
* Add an #alias directive to define a user-friendly name of a terminalRyo Nihei2021-08-286-44/+92
|
* Add error symbol and #recover directive to recover from an error stateRyo Nihei2021-08-2614-71/+520
|
* Update CHANGELOGRyo Nihei2021-08-231-0/+14
|
* Fix panic on no productionsRyo Nihei2021-08-221-0/+3
|
* Add a column number to a tokenRyo Nihei2021-08-221-2/+10
|
* Add a column number to an error messageRyo Nihei2021-08-227-77/+116
|
* Support %left and %right to specify precedences and associativitiesRyo Nihei2021-08-2211-5/+632
|
* Resolve conflicts by default rulesRyo Nihei2021-08-215-100/+215
| | | | When a shift/reduce conflict occurred, we prioritize the shift action, and when a reduce/reduce conflict occurred, we prioritize the production defined earlier in the grammar file.
* Fix indents of a treeRyo Nihei2021-08-192-13/+13
|
* Make the functions that test the automaton commonRyo Nihei2021-08-183-368/+159
|
* Update READMERyo Nihei2021-08-181-1/+1
|
* Set look-ahead symbols to items before generating a SLR(1) parsing tableRyo Nihei2021-08-189-288/+713
|
* Fix panic on a syntax errorRyo Nihei2021-08-151-3/+5
|
* Print a stack trace only when a panic occuredRyo Nihei2021-08-152-2/+14
|
* Support LALR(1) classRyo Nihei2021-08-1513-961/+2151
|
* Update CHANGELOGRyo Nihei2021-08-061-0/+11
|
* Remove the accept messageRyo Nihei2021-08-052-6/+3
|
* Print a stack trace on panicRyo Nihei2021-08-052-6/+9
|
* Add --only-parse option to the parse commandRyo Nihei2021-08-052-17/+32
| | | | When this option is enabled, the parser performs only parse and doesn't semantic actions.
* Avoid the growth of slices when constructing treesRyo Nihei2021-08-051-5/+25
|
* Add --cst option to the parse commandRyo Nihei2021-08-051-7/+23
| | | | When this option is enabled, the parser generates a CST.
* Generate an AST and a CST only when they are necessaryRyo Nihei2021-08-043-61/+101
|
* Fix the name of the EOF symbol in the description fileRyo Nihei2021-08-031-0/+7
|
* Add CHANGELOGRyo Nihei2021-08-031-0/+11
|
* Update READMERyo Nihei2021-08-021-2/+73
|
* Print expected terminals on a parse errorRyo Nihei2021-08-025-17/+81
|
* Use maleeni v0.3.0Ryo Nihei2021-08-016-41/+30
|
* Write terminals to a description fileRyo Nihei2021-07-315-43/+78
|
* Detect duplicate names between terminals and non-terminalsRyo Nihei2021-07-313-4/+38
|
* Prevent terminals used in productions from being skippedRyo Nihei2021-07-313-23/+68
| | | | A terminal symbol used in productions cannot have the skip directive.
* Detect unused-symbol errorRyo Nihei2021-07-303-1/+145
| | | | When there are productions and terminals that are cannot be reached from the start symbol, the compiler reports an error.
* Add a token position and detailed info to a lexical error messageRyo Nihei2021-07-283-7/+21
|
* Count the number of each line in consecutive linesRyo Nihei2021-07-283-2/+54
|
* Detect duplicate production errorsRyo Nihei2021-07-284-9/+87
|
* Add literal pattern syntax and change tree structure syntaxRyo Nihei2021-07-229-23/+55
| | | | | | - Literal patterns don't interpret the special characters of regular expressions. In other words, 'abc|def' matches only `abc|def`, not `abc` or `def`. - Change tree structure syntax from '(...) to #(...).
* Write a description fileRyo Nihei2021-07-228-26/+209
| | | | The description file describes a LR(0) item set and conflicts (if any).
* Print pattern strings of anonymous pattern on conflict messagesRyo Nihei2021-07-202-10/+28
|