mhmdvoid/UQUCompiler
Simple `Compiler` written in java to teach student collage who aren't familiar with Compilers and how they work.
Java
Issues
- 0
Weird behavior && Actually a bug in the scope implementation , i.e, it looks up deep with Type declaration
#67 opened by mhmdvoid - 0
No Diagnostic system. Basically use panic-mode & Statement-mode for parsing error.
#53 opened by mhmdvoid - 0
- 0
WalkExpr need to be updated as you add update or remove AST components. Write Comment as reminder
#66 opened by mhmdvoid - 0
RefExpr can be used before being initialized . Should report `foo` not initialized for locals
#65 opened by mhmdvoid - 0
Parameters names are looked up through global & other scopes ! which leads to redefinition error !!
#56 opened by mhmdvoid - 0
- 0
Needs a better error handling, Compiler not dealing with phases error properly.
#27 opened by mhmdvoid - 0
- 0
One module -> one AST. Later there's an issue if wanted to import whole module/package with multi files -> List(TranslationUnit)
#50 opened by mhmdvoid - 0
- 0
There's a bug in Multi-line comment parsing as the lexer can see the body of the comment, Bad logic as well as performance issue
#45 opened by mhmdvoid - 0
Typealias bug in function return type. BooFar funcName() {} <- this code will not check type even Exists!
#36 opened by mhmdvoid - 0
- 0
- 0
Type system & semantic analysis not separated and designed well. Take a moment for them
#29 opened by mhmdvoid - 0