aboutsummaryrefslogtreecommitdiff
path: root/compiler/parser_test.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-11-23Fix key of generalCategoryCodePoints mapRyo Nihei3-731/+740
Use the abbreviation `cn` of the general category value `unassigned` as a key of the `generalCategoryCodePoints` map.
2021-11-23Refactor the UCD file parsersRyo Nihei3-155/+202
2021-10-09Update CHANGELOGRyo Nihei1-0/+12
2021-10-05Update godocRyo Nihei2-8/+16
2021-10-03Remove the ModeName and KindName fields from the driver.Token structRyo Nihei5-273/+316
2021-10-02Format the source code of a lexer maleeni-go generatesRyo Nihei1-40/+140
2021-09-24Disallow upper cases in an identifierRyo Nihei4-99/+116
2021-09-23Remove --debug option from compile commandRyo Nihei3-107/+2
2021-09-22Keep the order of AST nodes constantRyo Nihei4-20/+50
2021-09-18Add name field to the lexical specificationRyo Nihei8-23/+97
2021-09-18Generate constant values representing mode IDs, mode names, kind IDs, and ↵Ryo Nihei4-106/+515
kind names
2021-09-14Update CHANGELOGRyo Nihei1-0/+7
2021-09-14Add maleeni-go commandRyo Nihei4-37/+668
maleeni-go generates a lexer that recognizes a specific lexical specification.
2021-09-11Define a lexical specification interfaceRyo Nihei6-356/+373
2021-09-08Remove --debug option from the lex commandRyo Nihei2-63/+1
2021-08-22Update CHANGELOGRyo Nihei1-0/+7
2021-08-07Add lexeme positions to tokensRyo Nihei3-39/+226
close #1
2021-08-07Use Go 1.16Ryo Nihei2-2/+2
2021-08-02Update CHANGELOGRyo Nihei1-0/+7
2021-08-01Change APIsRyo Nihei11-231/+289
Change fields of tokens, results of lexical analysis, as follows: - Rename: mode -> mode_id - Rename: kind_id -> mode_kind_id - Add: kind_id The kind ID is unique across all modes, but the mode kind ID is unique only within a mode. Change fields of a transition table as follows: - Rename: initial_mode -> initial_mode_id - Rename: modes -> mode_names - Rename: kinds -> kind_names - Rename: specs[].kinds -> specs[].kind_names - Rename: specs[].dfa.initial_state -> specs[].dfa.initial_state_id Change public types defined in the spec package as follows: - Rename: LexModeNum -> LexModeID - Rename: LexKind -> LexKindName - Add: LexKindID - Add: StateID
2021-08-01Add unique kind IDs to tokensRyo Nihei5-178/+239
2021-07-29Fix CHANGELOGRyo Nihei1-1/+1
2021-07-22Update CHANGELOGRyo Nihei1-0/+7