Commit Graph

25 Commits

Author SHA1 Message Date
e873e211c9 implement node for struct field access expression 2020-03-09 12:43:25 +01:00
6f8c995f19 create DAST nodes for structDefinition and structField 2020-03-09 12:40:59 +01:00
Marvin Kaiser
0316a7d4bf 25: Start adding Float Type 2020-03-03 20:45:55 +01:00
1bb53a0bcf add field 'initialized' to class VariableDeclaration 2020-02-04 12:02:15 +01:00
12c1f75602 add fields to save the line and column in which the token corresponding to the node was found 2020-02-03 22:20:25 +01:00
0aed4ee893 my initial short for typechecking, still very unifinished tho 2020-01-21 00:21:54 +01:00
Marvin Kaiser
d27df13ec1 added boolean operators 2020-01-20 16:01:25 +01:00
1186bb4550 add bool literal 2020-01-20 15:26:55 +01:00
Marvin Kaiser
be43cc9a77 implement for loops 2020-01-14 11:04:31 +01:00
Marvin Kaiser
f6818b6983 fix syntax issues 2020-01-14 10:23:12 +01:00
Marvin Kaiser
586c2bb5d9 renamed whileLoop to WhileLoop 2020-01-14 08:50:45 +01:00
Marvin Kaiser
5eb0679bf3 Renamed doWhileLoop to DoWhileLoop 2020-01-14 08:48:51 +01:00
Marvin Kaiser
e52ad061f9 Implemented do while loops 2020-01-13 16:43:38 +01:00
Marvin Kaiser
bd4ae1d605 Added while loop 2020-01-13 16:08:44 +01:00
Marvin Kaiser
079cdf4969 Implemented != expression 2019-12-20 09:09:01 +01:00
Marvin Kaiser
00145848da Added classes for boolean expressions 2019-12-20 08:41:05 +01:00
b9b36f7ba1 Add new node for the variable declaration 2019-12-16 22:41:12 +01:00
9e5046a20a implement new node types according to the new grammar 2019-12-16 21:45:55 +01:00
07ff7b9f06 Implement return statement node 2019-11-25 14:44:41 +01:00
2af9f369cf implement variable assignment 2019-11-18 18:54:24 +01:00
b38369b7a5 implemented variables and function call evaluation 2019-11-18 18:02:10 +01:00
Marvin Kaiser
13caee0667 Added function call and function definition 2019-11-18 16:39:12 +01:00
38d34a7cbc implement else if nesting 2019-11-11 22:27:27 +01:00
d5639db187 actually implement the visitor 2019-11-11 15:49:25 +01:00
c26cb6ddf5 add context analysis and custom visitors 2019-11-04 17:35:15 +01:00