1.3 KiB
1.3 KiB
Todo
Compiler
- Tokenizer
- Scanner
- Functions
- Variables
- Error messages
- Expression parser
- Function calls
- Parallel compilation
- Syscalls
- Variable lifetimes
- Branches
- Loops
- Hexadecimal, octal and binary literals
- Escape sequences
- Multiple return values
- Type system
- Type operator
?
- Data structures
- Slices
- Floating-point arithmetic
- Error handling
- Threading library
- Self-hosted compiler
Keywords
assert
else
for
if
import
loop
return
switch
Optimizations
- Exclude unused functions
- Constant folding
- Constant propagation
- Function call inlining
- Loop unrolls
- Assembler optimization backend
Linter
- Unused variables
- Unused parameters
- Unused imports
- Unnecessary newlines
- Ineffective assignments
Operators
=
,:=
+
,-
,*
,/
,%
+=
,-=
,*=
,/=
,%=
&
,|
,^
&=
,|=
,^=
<<
,>>
<<=
,>>=
==
,!=
,<
,<=
,>
,>=
&&
,||
!
,-
Architecture
- arm64
- riscv
- x64
Platform
- Linux
- Mac
- Windows