more token stuff

This commit is contained in:
2026-02-15 19:47:23 +11:00
parent 08d2bb1bd3
commit 2f87e0b4b1
3 changed files with 99 additions and 1 deletions

38
README.md Normal file
View File

@@ -0,0 +1,38 @@
# Solstice rewrite in C
Not self hosting yet. Maybe once this compiler is done.
## Building
bash build.c
## Todo List
- [ ] Lexer
- [x] Lex values
- [x] int
- [x] double
- [x] string
- [x] char
- [x] bool
- [x] Lex keywords
- [ ] Ignore comments (//, /**/, #)
- [ ] Lex delimiters
- [x] ()
- [x] {}
- [x] .
- [x] :
- [x] ,
- [ ] ==, =
- [ ] >, >=
- [ ] <, <=
- [ ] !, !=
- [ ] +, +=, ++
- [ ] -, -=, --
- [ ] *, *=
- [ ] /, /=
- [ ] Lex types
- [x] Basic types (int, double, string, bool, char)
- [ ] Advanced types (fun(...), template(...), object(...))
- [x] Lex identifiers