Commit Graph

285 Commits

Author SHA1 Message Date
nitrix 14f80b46cc remove whitespace 2020-03-09 14:12:19 +01:00
nitrix 4a9e5c30e1 implement test_expected functions for all types in use 2020-03-09 14:10:35 +01:00
nitrix 0adb9e22da implement print function for struct addresses and bools 2020-03-09 14:10:03 +01:00
nitrix 1f8de66751 update the struct test so that field c of the test struct is of type double 2020-03-09 13:49:09 +01:00
nitrix fc16663dae make floats work in structs 2020-03-09 13:48:31 +01:00
nitrix 31330db676 replace DOT with PERIOD 2020-03-09 12:53:26 +01:00
nitrix 8bb912b377 implement isNumericType 2020-03-09 12:51:28 +01:00
nitrix 3b5dc43cfb implement test functions 2020-03-09 12:49:09 +01:00
nitrix 08398e4064 add struct test function prototype 2020-03-09 12:48:31 +01:00
nitrix b776ac00e3 call struct tests 2020-03-09 12:48:31 +01:00
nitrix 9adc48da82 implement struct tests 2020-03-09 12:48:31 +01:00
nitrix 1403e0a231 fix indices 2020-03-09 12:48:31 +01:00
nitrix 02666a9459 implement visitors 2020-03-09 12:48:31 +01:00
nitrix 32cb06cd51 implement method that returns the index of a field by name 2020-03-09 12:48:31 +01:00
nitrix e3d8f3cfa7 implement field access visitor 2020-03-09 12:48:31 +01:00
nitrix 90ed033943 implement fielfd assignment node 2020-03-09 12:48:31 +01:00
nitrix ed4c901c6c add field assignment to statements 2020-03-09 12:48:31 +01:00
nitrix 86e77d1609 update the struct definition when following the path 2020-03-09 12:48:31 +01:00
nitrix eb75cc7838 implement GenASM for structs 2020-03-09 12:48:31 +01:00
nitrix e2986b3d65 add the struct name to the struct field access expression node 2020-03-09 12:48:31 +01:00
nitrix 1693eb6426 implement helper functions to determine the struct size and field offsets 2020-03-09 12:48:31 +01:00
nitrix 622be803cc add structs to the constructor params of GenASM 2020-03-09 12:48:31 +01:00
nitrix 3f18fa56c2 add struct definitions as a constructor parameter 2020-03-09 12:48:31 +01:00
nitrix a9ab8f08e6 implement structs 2020-03-09 12:47:44 +01:00
nitrix bc5efde8c5 add the retrieved structs to the constructor call of the eval visitor 2020-03-09 12:47:44 +01:00
nitrix edaa686a2a add method to get the value as a struct 2020-03-09 12:47:44 +01:00
nitrix b9569c7df6 add missing semicolong since a destructor call is now a statement 2020-03-09 12:47:02 +01:00
nitrix 86fe676492 rename method to match new grammar 2020-03-09 12:47:02 +01:00
nitrix 64634a0d4d move destructor call from expressions to statements 2020-03-09 12:47:02 +01:00
nitrix 3fb350ad31 make destructor call inherit from statement 2020-03-09 12:47:02 +01:00
nitrix d89c085ecc implement context analysis for destructor node 2020-03-09 12:47:02 +01:00
nitrix 9300e37fca implement node visitors for the destructor node 2020-03-09 12:47:02 +01:00
nitrix 995fac20c5 create node that represents a destructor call 2020-03-09 12:47:02 +01:00
nitrix 31460860d5 add a destructor call to the grammar 2020-03-09 12:47:02 +01:00
nitrix 441466c83f next time check before commiting everything... 2020-03-09 12:47:02 +01:00
nitrix 80deae6971 implement visitors for null atom 2020-03-09 12:47:02 +01:00
nitrix 2f425944e5 implement null node 2020-03-09 12:47:02 +01:00
nitrix 8ebbd6ae54 implement null type 2020-03-09 12:47:02 +01:00
nitrix 9d83e5425d add a null literal 2020-03-09 12:46:13 +01:00
nitrix 5c0459c5a2 implement constructor call, eval and genasm are still stubs 2020-03-09 12:45:16 +01:00
nitrix 317c2c52ca add constructor call expression to the grammar 2020-03-09 12:45:16 +01:00
nitrix 19daaa63af use GetStructNames instead of collecting the names in GetStructs 2020-03-09 12:45:16 +01:00
nitrix a79a2332a1 implement visitor to collect all struct names 2020-03-09 12:45:16 +01:00
nitrix f0b6f052d6 implement pretty print for struct field access expression 2020-03-09 12:45:16 +01:00
nitrix 1ca3f5ca8b implement context analysis for struct field access expressions 2020-03-09 12:45:16 +01:00
nitrix 6a7eb8fde2 make GetStructs collect the complete struct definitions 2020-03-09 12:45:16 +01:00
nitrix a969aa895f make GetStructs collect the complete struct definitions 2020-03-09 12:45:16 +01:00
nitrix fef397c60d implement empty visitors 2020-03-09 12:43:25 +01:00
nitrix e873e211c9 implement node for struct field access expression 2020-03-09 12:43:25 +01:00
nitrix 304891adb8 add struct field access expression 2020-03-09 12:43:25 +01:00