Tom Tsagk
|
aa3948711a
initial implementation, works only on declaring
|
5 years ago |
Tom Tsagk
|
bf00a5cb09
add support for float-type variables (not constants)
|
5 years ago |
tomtsagk
|
615246a0e6
now supports the `void` keyword
|
5 years ago |
tomtsagk
|
3e7b509a49
add support for parenthesis, fix issue with parsing expressions
|
5 years ago |
Tom Tsagk
|
06439dfbbd
add support for equal, less equal and greater equal
|
5 years ago |
Tom Tsagk
|
26e7aeef48
support less than and more than operators
|
5 years ago |
Tom Tsagk
|
b3b6a5d40f
support for if statements
|
5 years ago |
tomtsagk
|
7320424821
improve naming convention, organise to make project easier to manage
|
5 years ago |
tomtsagk
|
053667b389
add support for strings
|
5 years ago |
Tom Tsagk
|
1b77477883
remove unwanted ast_node type
|
5 years ago |
Tom Tsagk
|
8dc96b0c37
initial support of functions in structs
|
5 years ago |
Tom Tsagk
|
edb2bb91ae
struct inheritance and compilation update
|
5 years ago |
Tom Tsagk
|
b6da52852f
add function decleration/call
|
5 years ago |
Tom Tsagk
|
72a887a628
remove struct data checking for now, starte function checking
|
5 years ago |
Tom Tsagk
|
ddf040fc6b
add support for structs
|
5 years ago |
tomtsagk
|
0806f93d83
add support for expressions (+, -, *, /)
|
5 years ago |
Tom Tsagk
|
53547d3ec8
updates
|
5 years ago |
Tom Tsagk
|
c5a9ab5639
organise ast
|
5 years ago |
tomtsagk
|
9dfe108b02
ast now has its own types, yacc now uses push() and pop() to make tree more flexible
|
5 years ago |
Tom Tsagk
|
0a6da620f7
testing updates
|
5 years ago |
Tom Tsagk
|
0fe6ac9b5e
add symtable and ast tree
|
5 years ago |