| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change type of acceping_states to slice | Ryo Nihei | 2021-05-07 | 1 | -1/+1 |
| | | |||||
| * | Add transition table compressor | Ryo Nihei | 2021-05-07 | 1 | -3/+23 |
| | | |||||
| * | Add lex mode | Ryo Nihei | 2021-05-04 | 1 | -3/+72 |
| | | | | | | | | | | | lex mode is a feature that separates transition tables per each mode. The lexer starts from an initial state indicated by `initial_state` field and transitions between modes according to `push` and `pop` fields. The initial state will always be `default`. Currently, maleeni doesn't provide the ability to change the initial state. You can specify the modes of each lex entry using `modes` field. When the mode isn't indicated explicitly, the entries have `default` mode. | ||||
| * | Add validation of lexical specs and improve error messages | Ryo Nihei | 2021-04-17 | 1 | -7/+82 |
| | | |||||
| * | Add types of lexical specifications | Ryo Nihei | 2021-02-16 | 1 | -0/+28 |
| APIs of compiler and driver packages use these types. Because CompiledLexSpec struct a lexer takes has kind names of lexical specification entries, the lexer sets them to tokens. | |||||
