Ian Piumarta
|
d1abebcabc
|
fix initialisation of char * from string literal
|
3 months ago |
Ian Piumarta
|
f411e2d569
|
be more relaxed about pointer comparisons
|
3 months ago |
Ian Piumarta
|
c12fa4fdad
|
be more pedantic about correct types in pointer initialisation and assignment unless the value is (void *)0
|
3 months ago |
Ian Piumarta
|
e6bf046263
|
handle recursive structures, loading and storing pointers to structures in members
|
3 months ago |
Ian Piumarta
|
47ac124905
|
handle array and structure initialisers
|
3 months ago |
Ian Piumarta
|
7f26a50dac
|
handle structures and member access
|
3 months ago |
Ian Piumarta
|
c4ded90303
|
better printf(), handle initialisation of pointers and arrays from string literals
|
3 months ago |
Ian Piumarta
|
49c896a266
|
handle comparisons between pointers and arrays, handle taking address of array
|
3 months ago |
Ian Piumarta
|
30e9c9ba21
|
handle postinc of pointers, comparisons between pointers and pointers/arrays, conversion of arrays to pointers
|
3 months ago |
Ian Piumarta
|
93e8020fff
|
handle array indexing and integer multiplication
|
3 months ago |
Ian Piumarta
|
dda40ae951
|
handle malloc(), free(), casts and assignments involving pointers to variables, memory, or cast from integer constants
|
3 months ago |
Ian Piumarta
|
3c5913ff9a
|
handle sizeof() and malloc()
|
3 months ago |
Ian Piumarta
|
360fde2056
|
improve error message for invalid assignments
|
3 months ago |
Ian Piumarta
|
e5345ff9ba
|
handle typedef and casts
|
3 months ago |
Ian Piumarta
|
07fb5f758f
|
split Tbase into individual types
|
3 months ago |
Ian Piumarta
|
e274af205e
|
split Tbase into individual types
|
3 months ago |
Ian Piumarta
|
9264c94f6b
|
handle comparison of integer and pointer to variable
|
3 months ago |
Ian Piumarta
|
d4c5edce8f
|
handle if() and ==
|
3 months ago |
Ian Piumarta
|
ddf85ac562
|
move system include files to subdir
|
3 months ago |
Ian Piumarta
|
37856e008b
|
remove debugging info
|
3 months ago |
Ian Piumarta
|
cb668afe92
|
handle while
|
3 months ago |
Ian Piumarta
|
c220bef846
|
block eval pops scopes properly during nonlocal return
|
3 months ago |
Ian Piumarta
|
aa7a5f2c65
|
declare primitives as external functions
|
3 months ago |
Ian Piumarta
|
0d88339f76
|
handle for loops
|
3 months ago |
Ian Piumarta
|
560fe0d6b8
|
handle assignment to variables
|
3 months ago |
Ian Piumarta
|
4b29519383
|
handle enough pointers and address-of to make dangling-pointer.c work; add %p conversion to printf(); add assert()
|
3 months ago |
Ian Piumarta
|
72975e2827
|
handle strings in printf
|
3 months ago |
Ian Piumarta
|
a538c4b31d
|
handle global variables and addition
|
3 months ago |
Ian Piumarta
|
857a621179
|
handle global variables and addition
|
3 months ago |
Ian Piumarta
|
9896dc32b0
|
handle global variables and addition
|
3 months ago |
Ian Piumarta
|
05f17a9383
|
handle variadic functions
|
3 months ago |
Ian Piumarta
|
33bb5e8138
|
allow multiple identical declarations; function parmeters are arrays of variables not vardecls
|
3 months ago |
Ian Piumarta
|
d5fbff0e83
|
type check variable declarations
|
3 months ago |
Ian Piumarta
|
46c4a94f5a
|
handle function parameters/arguments
|
3 months ago |
Ian Piumarta
|
e2f9479f9e
|
evaluates test.txt with no type checking
|
3 months ago |
Ian Piumarta
|
2f2d130c80
|
Initial commit.
|
4 months ago |