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
|
02e57b7db5
|
Added tests for self-altering expressions
|
2020-01-13 16:17:20 +01:00 |
|
Marvin Kaiser
|
bd4ae1d605
|
Added while loop
|
2020-01-13 16:08:44 +01:00 |
|
Marvin Kaiser
|
33215a1b4a
|
Merge branch '10-vergleichsoperatoren' into 'master'
Resolve "Vergleichsoperatoren"
Closes #10
See merge request mkais001/klang!5
|
2019-12-20 10:02:10 +01:00 |
|
Marvin Kaiser
|
079cdf4969
|
Implemented != expression
|
2019-12-20 09:09:01 +01:00 |
|
Marvin Kaiser
|
a79b7c9362
|
Implemented boolean expressions
|
2019-12-20 09:01:03 +01:00 |
|
Marvin Kaiser
|
f341401ccc
|
Implemented pretty printing and evaluating of boolean expressions
|
2019-12-20 08:42:20 +01:00 |
|
Marvin Kaiser
|
00145848da
|
Added classes for boolean expressions
|
2019-12-20 08:41:05 +01:00 |
|
Marvin Kaiser
|
c5419b85c7
|
Extend grammar: added boolean expressions
|
2019-12-20 08:40:17 +01:00 |
|
Marvin Kaiser
|
3f2987074d
|
Fix: Variable Declaration with initialization not correctly pretty printed
|
2019-12-18 10:37:05 +01:00 |
|
Marvin Kaiser
|
9f68e6b8d1
|
Added test for recursive calls
|
2019-12-17 19:09:09 +01:00 |
|
Marvin Kaiser
|
ab80f16092
|
updated gitlab pipeline
|
2019-12-17 17:47:48 +01:00 |
|
Marvin Kaiser
|
9d71927241
|
updated ci pipeline
|
2019-12-17 17:43:18 +01:00 |
|
Marvin Kaiser
|
6d97ec4b55
|
added docker tags to ci configuration
|
2019-12-17 17:36:15 +01:00 |
|
Marvin Kaiser
|
6e21697f2e
|
Added gitlab ci configuration
|
2019-12-17 17:31:17 +01:00 |
|
Marvin Kaiser
|
08f486203b
|
Fix: Arguments that don't fit into registeres are passed in the incorrect order
|
2019-12-17 17:22:44 +01:00 |
|
Marvin Kaiser
|
5745062704
|
Fix: Subtraction tests not working. Was: incorrect order of expression evaluation
|
2019-12-17 16:53:20 +01:00 |
|
Marvin Kaiser
|
c8bca94ca8
|
Added tests that check that klang passes parameters to functions in the same way that gcc does it
|
2019-12-17 16:48:09 +01:00 |
|
Marvin Kaiser
|
d3847682d6
|
Fix: Offset calculation for stack parameters
|
2019-12-17 16:45:54 +01:00 |
|
Marvin Kaiser
|
e71ccf1cdc
|
Fix: Additional parameters not pushed onto stack
|
2019-12-17 16:45:32 +01:00 |
|
Marvin Kaiser
|
d4dfe27bc0
|
Added error counting to tests. Tests return ERROR_FAILURE when not all test were successful
|
2019-12-17 16:13:04 +01:00 |
|
Marvin Kaiser
|
3710c1f903
|
Added rule to evaluate the source code
|
2019-12-17 15:53:15 +01:00 |
|
Marvin Kaiser
|
b4b2bceae5
|
added pretty printing rule to makefile
|
2019-12-17 15:52:19 +01:00 |
|
Marvin Kaiser
|
086e9dae76
|
Added possibility to select pretty printing / evaluating via argument
|
2019-12-17 15:52:06 +01:00 |
|
Marvin Kaiser
|
a01a27bd77
|
Updated makefile to include functions to run/build the project
|
2019-12-17 15:47:50 +01:00 |
|
Marvin Kaiser
|
59664e73b0
|
Created testsuite and makefile to run testsuite
|
2019-12-17 15:13:31 +01:00 |
|
Marvin Kaiser
|
aaf1c3195d
|
if statement asm generation now omits else labels if no else was defined
|
2019-12-17 15:12:36 +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 |
|
Marvin Kaiser
|
b022f41bb5
|
Remove *.k and *.c from gitignore, we need them for tests
|
2019-12-17 15:10:06 +01:00 |
|
Marvin Kaiser
|
ecae26c8a7
|
Fix: offset calculation for function definitions
Fix: Jumps / Labels in if statement
|
2019-12-02 17:13:11 +01:00 |
|
Marvin Kaiser
|
b7e6567d69
|
Fixed main function asm code
Fixed: IntegerValues not passed via rax
Fixed: Some values passed via stack, not via rax
|
2019-11-26 09:14:44 +01:00 |
|
Marvin Kaiser
|
37e4db94f2
|
Implemented GetVars Visitor
|
2019-11-25 15:29:22 +01:00 |
|
Marvin Kaiser
|
13caee0667
|
Added function call and function definition
|
2019-11-18 16:39:12 +01:00 |
|
Marvin Kaiser
|
10bca83b2e
|
Merge branch 'extendable_grammer' into 'master'
More Grammar and Typing System
See merge request mkais001/klang!1
|
2019-11-04 15:42:33 +01:00 |
|
Marvin Kaiser
|
d14a7d7cbd
|
Added basic typing structure
|
2019-11-04 15:41:32 +01:00 |
|
Marvin Kaiser
|
8ad114107a
|
removed unnecessary comment
|
2019-10-29 10:33:24 +01:00 |
|
Marvin Kaiser
|
dfefee8a71
|
removed "then" from if statement
|
2019-10-29 10:32:17 +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 |
|
Marvin Kaiser
|
5bb85af67f
|
updated antlr4 to latest version
|
2019-10-28 17:06:20 +01:00 |
|
Marvin Kaiser
|
a95ee82469
|
Updated project to use JavaSE 11
|
2019-10-28 16:57:36 +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 |
|