Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-01-11 | token: initial tokenizer. | franck cuny | 1 | -0/+48 | |
This is the initial tokenizer for the monkey language. For now we recognize a limited number of tokens. We only have two keywords at this stage: `fn` and `let`. `fn` is used to create function, while `let` is used for assigning variables. The other tokens are mostly to parse the source code, and recognize things |