a8b093a005
reenable the mod test for -1, -1
nitrix2020-03-05 17:13:36 +01:00
1530dc6c55
sign extend rax into rbx before calling idiv, the replaces the rbx zeroing
nitrix2020-03-05 17:13:19 +01:00
09eec634b1
add new mixdiv test for -1, -1
nitrix2020-03-05 16:50:37 +01:00
150e18e05b
inspec type of expression instead of the type of the assignment, since the assignment type is always null
nitrix2020-03-05 16:40:31 +01:00
ebeabfe930
fix input values to match expected value
nitrix2020-03-05 16:39:47 +01:00
bba950c851
25: Fix tests
Marvin Kaiser
2020-03-05 12:31:09 +01:00
cbc8020e81
25: Rewrite prepareRegisters, correct operator order for comparisons
Marvin Kaiser
2020-03-05 09:06:22 +01:00
58cdaf04dd
25-Add more tests for floats
Marvin Kaiser
2020-03-05 07:58:16 +01:00
229920946d
25- Strict check between function signature and function call
Marvin Kaiser
2020-03-04 20:53:50 +01:00
18cfbdcbb5
implement function call tests for floats and floats mixed with integers
nitrix2020-03-04 20:46:49 +01:00
384d98418d
implement math tests for floats
nitrix2020-03-04 20:46:08 +01:00
6eb61f905f
25: Add logic for handling float in function calls
Marvin Kaiser
2020-03-04 19:29:24 +01:00
0316a7d4bf
25: Start adding Float Type
Marvin Kaiser
2020-03-03 20:45:55 +01:00
db8146ed8a
Merge branch '28-static-type-check-bug-with-if-clause-in-function' into 'master'
Marvin Kaiser
2020-02-04 12:07:03 +01:00
a9db8b3f9a
set the initialited field of class VariableDeclaration, make sure a variable has been inizialized prior to its usage
nitrix2020-02-04 12:02:41 +01:00
1bb53a0bcf
add field 'initialized' to class VariableDeclaration
nitrix2020-02-04 12:02:15 +01:00
e00b72a32d
Merge branch '20-update-readme' into 'master'
Marvin Kaiser
2020-02-04 11:46:35 +01:00
1e2dee3f1d
add a section that showcases the static type system
nitrix2020-02-04 11:35:00 +01:00
1ae404b978
always add the declared type as the type of a variable declaration. do not use the combined type as the type of the variable that is declared
nitrix2020-02-04 11:21:48 +01:00
269cf302df
Merge branch '17-line-and-block-comments' into 'master'
Marvin Kaiser
2020-02-04 11:11:06 +01:00
d3a4af0b8c
add lexer rules for line and block comments
nitrix2020-02-04 11:02:34 +01:00
47390f6757
add missing type declarations to pretty print output
nitrix2020-02-04 00:16:00 +01:00
974baebfe9
Merge branch '13-fix-eval-visitor' into 'master'
Dennis Kaiser
2020-02-04 00:16:04 +01:00
26b1406013
make boolean and comparison expression evaluate to bool, user asBoolean when expecting a boolean, re-welcome the conditions of loops everytime another step has to be evaluated
nitrix2020-02-04 00:07:22 +01:00
56463c3e30
the the result of eval as an object and call toString\(\) on it
nitrix2020-02-03 23:42:49 +01:00
fc33ab6b12
add method to get the raw value representation
nitrix2020-02-03 23:42:07 +01:00
d5610b0c3f
Merge branch 'feature/better-errors' into 'master'
Dennis Kaiser
2020-02-03 23:50:49 +01:00
f3c5bac860
check whether the types of the operants of an equality expression can combine instead of enforcing them to both be integers
nitrix2020-02-03 23:45:52 +01:00
1095d9dd83
Correct spelling errors in README.md
Marvin Kaiser
2020-01-20 12:39:56 +01:00
11c8759dfd
Added project summary to readme
Marvin Kaiser
2020-01-14 19:15:58 +01:00
15128a8d75
updae makefile to use --no-main
Marvin Kaiser
2020-01-14 18:43:03 +01:00
34d0e1bb0e
Added cli argument to either generate main method or not
Marvin Kaiser
2020-01-14 18:37:34 +01:00
5275b63940
added make target to only cleanup the tests. Can be used for quicker test development without having to recompile the klang compiler
Marvin Kaiser
2020-01-14 12:25:04 +01:00
7af6565e07
Added more tests for while
Marvin Kaiser
2020-01-14 12:24:25 +01:00
3ca9fe4de1
Added automatic counting of successes/failures in tests
Marvin Kaiser
2020-01-14 12:15:20 +01:00
1ceba78059
Updated cicd yaml to work with latest test suite
Marvin Kaiser
2020-01-14 11:50:56 +01:00