feat: add token and span definitions
This commit is contained in:
@@ -7,7 +7,7 @@ A Rust-flavored, C-targeting language - built pipeline-first.
|
||||
|
||||
## Phase 1 - Lexer
|
||||
|
||||
- [ ] Define token enum (int literal, bool literal, ident, keywords, operators, punctuation)
|
||||
- [x] Define token enum (int literal, bool literal, ident, keywords, operators, punctuation)
|
||||
- [ ] Implement character-by-character scanner loop
|
||||
- [ ] Handle whitespace & single-line comments (`//`)
|
||||
- [ ] Produce source spans (file, line, col) on every token
|
||||
|
||||
Reference in New Issue
Block a user