aboutsummaryrefslogtreecommitdiff
path: root/compiler/compiler_test.go (unfollow)
Commit message (Collapse)AuthorFilesLines
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