- Notifications
You must be signed in to change notification settings - Fork1
jan-van-bergen/Lang
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Compiler in C for a simple programming language that compiles to x64 assembly (NASM syntax).
- Functions
- Scopes
- Pointers
- Arrays
- Structs
- Type inference
externputs(str:char*);externstrlen(str:char*)->int;funcmain()->int {str :="Hello world!";puts(str);returnstrlen(str);}
- NASM (https://www.nasm.us/): used as assembler and should be added to the system
Path
variable. - Microsoft Linker (included with Visual Studio) is used for linking.