Fix, separate out the function pass from the decl pass. Diagnose non-visible symbols as not visible rather than missing. Fix crash when module identifier is incorrect. !! operator added. New character literal parsing. Added simple test framework.

This commit is contained in:
Christoffer Lerno
2020-07-16 16:45:06 +02:00
committed by Christoffer Lerno
parent b4c661eaad
commit f45d6ef84b
43 changed files with 871 additions and 259 deletions

View File

@@ -50,12 +50,16 @@ There are some small work being done on the parser here, but most of the structu
- Improved integration with C.
- Generic macros.
- Update of error system
- Imports aren't quite stable
- Strings, vararrays aren't finalized
- Stdlib not started
- More tests and support for multi file tests.
#### What's working?
- Lexing and parsing works (except for the exceptions noted above).
- Simple "hello world"
- Most simpler C code.
- Lexing and parsing works with some minor exceptions
- Normal code works
- You can use any C function by declaring it as a normal C3 function with external
(For more details see missing.txt)