This website works better with JavaScript
Home
Explore
Help
Register
Sign In
fzfouz
/
BASIC-compiler
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
6b464dfa7b
Branches
Tags
main
BASIC-compiler
/
TODO.md
TODO.md
1.0 KB
History
Raw
Parentheses for expressions
Logical operators (and, or, not)
ELSE IF and ELSE
FOR loop
Number literals written in binary, hex, and octal
Better compiler errors (e.g., what line the error occurred)
Allow multiple code files
Functions with parameters and return values
Lexical scope (see
scope
)
Standard library (e.g., file operations)
Abstract syntax tree
representation
More primitive types (e.g., integer, strings, boolean)
Arrays
Record types (i.e., structs or tuples)
Type checking (see
type systems
)
Compiler optimizations (e.g.,
constant folding
)
Test cases for the compiler (see
unit testing
and
test-driven development
)