index
:
cup
master
Unnamed repository; edit this file 'description' to name the repository.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
parser.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Allow empty return statements for void functions
Mustafa Quraish
2022-02-05
1
-3
/
+11
*
Allow function declarations without a definition
Mustafa Quraish
2022-02-05
1
-14
/
+36
*
Add support for some more binary ops: |, &, ^
Mustafa Quraish
2022-02-05
1
-1
/
+10
*
Add `sizeof(<type>)` operator that can return the size of a type.
Mustafa Quraish
2022-02-05
1
-0
/
+8
*
Add ability to initialize global variables
Mustafa Quraish
2022-02-05
1
-3
/
+0
*
Add `void` type and allow void* to be assigned to other ptr types
Mustafa Quraish
2022-02-05
1
-5
/
+7
*
Allow `builtins.c` to inject constants into program, use for syscalls
Mustafa Quraish
2022-02-05
1
-17
/
+24
*
Add an enum-like-but-not-really structure
Mustafa Quraish
2022-02-04
1
-0
/
+48
*
Some minor bug fixes
Mustafa Quraish
2022-02-04
1
-1
/
+7
*
Minor fixes, rearranging, whitespace trimming. No functional changes.
Mustafa Quraish
2022-02-04
1
-4
/
+2
*
Don't open/parse a file that's been included more than once
Mustafa Quraish
2022-02-04
1
-21
/
+39
*
Add support for read-only constant expressions
Mustafa Quraish
2022-02-04
1
-5
/
+112
*
Modify implementation of structs to support unions
Mustafa Quraish
2022-02-03
1
-9
/
+10
*
Add support for basic structs
Mustafa Quraish
2022-02-03
1
-2
/
+107
*
Add automatic type inference for initialized variable declarations
Mustafa Quraish
2022-02-03
1
-17
/
+27
*
Add pre-increment and pre-decrement operators.
Mustafa Quraish
2022-02-03
1
-2
/
+33
*
Add an implicit block around a `for` loop, allow statement init
Mustafa Quraish
2022-02-03
1
-12
/
+27
*
Move builtins to a separate file
Mustafa Quraish
2022-02-03
1
-28
/
+1
*
Allow implicitly converting between integer-like-types
Mustafa Quraish
2022-02-03
1
-4
/
+7
*
Add support for `char` type + string/char literals
Mustafa Quraish
2022-02-02
1
-7
/
+23
*
Remove default initialization to 0 for variable declarations
Mustafa Quraish
2022-02-02
1
-0
/
+3
*
Add initial support for arrays (also no testing)
Mustafa Quraish
2022-02-02
1
-8
/
+61
*
Move type-related stuff to a separate file
Mustafa Quraish
2022-02-02
1
-118
/
+1
*
Type checking of expressions / functions!
Mustafa Quraish
2022-02-02
1
-8
/
+160
*
Use `type*` instead of `type&` to denote a pointer type (for now)
Mustafa Quraish
2022-02-02
1
-1
/
+1
*
Add support for pointers! (tests missing)
Mustafa Quraish
2022-02-02
1
-3
/
+11
*
Add `size_for_type()` helper instead of hard-coding variable sizes
Mustafa Quraish
2022-02-02
1
-5
/
+5
*
Modify how types are stored.
Mustafa Quraish
2022-02-02
1
-84
/
+57
*
Add basic `defer` implementation.
Mustafa Quraish
2022-02-01
1
-0
/
+4
*
Global variables now supported! + some fixes to OP_ASSIGN
Mustafa Quraish
2022-01-31
1
-12
/
+60
*
Add ability to import other files
Mustafa Quraish
2022-01-31
1
-2
/
+40
*
Fix offset for local variables
Mustafa Quraish
2022-01-31
1
-1
/
+1
*
Add basic builtin-function support
Mustafa Quraish
2022-01-31
1
-29
/
+62
*
Rename `cup` directory to `src`
Mustafa Quraish
2022-01-30
1
-0
/
+562