Commit Graph

23 Commits

Author SHA1 Message Date
bc5efde8c5 add the retrieved structs to the constructor call of the eval visitor 2020-03-09 12:47:44 +01:00
441466c83f next time check before commiting everything... 2020-03-09 12:47:02 +01:00
5c0459c5a2 implement constructor call, eval and genasm are still stubs 2020-03-09 12:45:16 +01:00
19daaa63af use GetStructNames instead of collecting the names in GetStructs 2020-03-09 12:45:16 +01:00
a969aa895f make GetStructs collect the complete struct definitions 2020-03-09 12:45:16 +01:00
6981c288e6 implement context analysis 2020-03-09 12:43:25 +01:00
56463c3e30 the the result of eval as an object and call toString\(\) on it 2020-02-03 23:53:25 +01:00
3e8a904cb8 catch error to abort further processing 2020-02-03 22:21:30 +01:00
Marvin Kaiser
69f44a2867 Added possibility to pass filenames for input / output 2020-02-03 17:16:27 +01:00
Marvin Kaiser
db7331911a Added functionality to analyze AST for all defined functions 2020-01-27 16:04:38 +01:00
Marvin Kaiser
34d0e1bb0e Added cli argument to either generate main method or not 2020-01-14 18:37:34 +01:00
Marvin Kaiser
086e9dae76 Added possibility to select pretty printing / evaluating via argument 2019-12-17 15:52:06 +01:00
Marvin Kaiser
bf50587cdb Comment out syso's that print something that's not assembly code 2019-12-17 15:10:37 +01:00
2c2696207f output the generated assembler code 2019-11-26 08:08:06 +01:00
9385618252 print and evaluate the source code 2019-11-12 12:03:59 +01:00
d97f84e95f use pretty print visitor 2019-11-11 15:50:37 +01:00
c26cb6ddf5 add context analysis and custom visitors 2019-11-04 17:35:15 +01:00
Marvin Kaiser
d43fa90bc3 Added if statement 2019-10-29 10:30:18 +01:00
Marvin Kaiser
64c41122d0 Rewrote grammar, implemented two visitors 2019-10-29 09:51:43 +01:00
4e15cdb49e use CharStream instead of ANTLRInputStream 2019-10-28 22:08:39 +01:00
13d38a53aa implement new for simplified grammar 2019-10-28 21:52:32 +01:00
Marvin Kaiser
bc4cc334bd Added implementation for a visitor 2019-10-28 16:13:37 +01:00
Marvin Kaiser
0a9d702198 Initial commit 2019-10-28 15:55:18 +01:00