|
9657731a93
|
remove example.hs because its deprecated
|
2024-06-28 08:44:22 +02:00 |
|
|
b5efc76c17
|
add default constructor if none are present
|
2024-06-28 08:44:04 +02:00 |
|
|
fe4ef2614f
|
add new constructortypecheck with overloading
|
2024-06-27 18:53:01 +02:00 |
|
|
2154f8fd62
|
add method overloading
|
2024-06-27 18:52:18 +02:00 |
|
|
504e26dcdd
|
fix objects not comparable to null
|
2024-06-27 18:08:36 +02:00 |
|
|
f09e6ad09e
|
adjust parser for constructordeclaration
|
2024-06-27 08:33:41 +02:00 |
|
|
3e18efc097
|
add constructodeclarations to class in AST
|
2024-06-26 18:09:00 +02:00 |
|
mrab
|
cb462b5e75
|
added constructordeclaration
|
2024-06-26 17:58:52 +02:00 |
|
|
05a6de4a0d
|
Merge remote-tracking branch 'origin/master' into create-parser
|
2024-06-26 09:18:11 +02:00 |
|
|
1eaeffb9a4
|
parser add for statements
|
2024-06-26 09:17:21 +02:00 |
|
Matthias Raba
|
98735fd6ba
|
updated bytecode.md
|
2024-06-21 09:03:47 +02:00 |
|
Matthias Raba
|
8eb9c16c7a
|
typos, formatting, comments
|
2024-06-21 08:49:55 +02:00 |
|
Matthias Raba
|
4435f7aac8
|
Changed internal type of boolean, because it's obviously Z not B haha
|
2024-06-21 08:07:20 +02:00 |
|
Matthias Raba
|
79ddafbf9a
|
Fixed class offset in constant pool when newly inserted
|
2024-06-21 07:37:25 +02:00 |
|
Matthias Raba
|
29faab5112
|
maxStack calculation
|
2024-06-20 15:07:02 +02:00 |
|
Matthias Raba
|
8c508e6d32
|
Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-20 12:35:34 +02:00 |
|
|
faf3d1674e
|
fix constructor not handling nullliterals correctly
|
2024-06-20 11:52:35 +02:00 |
|
|
bcbec9209a
|
fix nullliterals having the type null instead of their corresponding object types
|
2024-06-20 11:26:38 +02:00 |
|
Matthias Raba
|
6547ad04f5
|
Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-20 08:40:38 +02:00 |
|
|
8a6dca4e36
|
fix null not accepted for object method parameter
|
2024-06-20 08:38:56 +02:00 |
|
Matthias Raba
|
ee302bb245
|
maxLocals calculation
|
2024-06-18 07:37:01 +02:00 |
|
mrab
|
5269971334
|
Merge branch 'create-parser' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-14 16:05:46 +02:00 |
|
|
e4693729dc
|
fix assignment with this
|
2024-06-14 15:12:59 +02:00 |
|
Matthias Raba
|
2c928ad69b
|
renamed Generator -> Builder
|
2024-06-14 08:54:12 +02:00 |
|
Matthias Raba
|
b47da4633d
|
refactored assemblers & builders to individual files
|
2024-06-14 08:47:45 +02:00 |
|
Matthias Raba
|
807aea112e
|
added Test classes, fixed assignment dup missing
|
2024-06-14 07:57:38 +02:00 |
|
mrab
|
9e43b015b7
|
injecting initializers into all constructors, multiple classes per file supported
|
2024-06-13 22:25:35 +02:00 |
|
mrab
|
79a989eecf
|
Merge branch 'typedAST' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-13 22:22:52 +02:00 |
|
|
f02226bca8
|
add missing typeCheckVariableDeclaration
|
2024-06-13 22:06:10 +02:00 |
|
mrab
|
3acbce8afc
|
fixed invalid dup depth for postinc/dec
|
2024-06-13 21:02:00 +02:00 |
|
mrab
|
44c6d74afb
|
Merge branch 'typedAST' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-13 20:51:19 +02:00 |
|
mrab
|
3f6eb68e91
|
implemented arbitrarily nested increment operators
|
2024-06-13 20:51:10 +02:00 |
|
|
7e13b3fac3
|
fix variable redefinition in scope not working
|
2024-06-13 20:35:00 +02:00 |
|
mrab
|
613a280079
|
Method & constructor calls fully working
|
2024-06-13 20:17:23 +02:00 |
|
mrab
|
fbd76deca3
|
Merge branch 'typedAST' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-13 17:36:09 +02:00 |
|
|
2139e7832c
|
fix missing Typed Expression for local and field variable
|
2024-06-13 17:33:30 +02:00 |
|
mrab
|
9a9c508fc7
|
Merge branch 'typedAST' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-13 17:16:29 +02:00 |
|
|
baf9362634
|
make implicit this to explicit this for field variables
|
2024-06-13 15:49:59 +02:00 |
|
Matthias Raba
|
4def6e5804
|
name resolution for fields
|
2024-06-13 15:35:42 +02:00 |
|
|
2d6c7b1a06
|
fix external methocall
|
2024-06-13 12:27:57 +02:00 |
|
Matthias Raba
|
3f78cdaa2d
|
Merge branch 'typedAST' of https://gitea.hb.dhbw-stuttgart.de/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-13 09:27:19 +02:00 |
|
|
710ec43959
|
add using standard constructor for constructor call
|
2024-06-13 09:26:05 +02:00 |
|
mrab
|
b41a77ba33
|
boolean AND/OR, if/else goto fixed
|
2024-06-12 19:57:09 +02:00 |
|
mrab
|
7317895800
|
Merge branch 'typedAST' of ssh://gitea.hb.dhbw-stuttgart.de:2222/MisterChaos69/MiniJavaCompiler into bytecode
|
2024-06-12 16:55:31 +02:00 |
|
mrab
|
06dad4d7f9
|
resolved circular imports
|
2024-06-12 16:55:19 +02:00 |
|
|
b525d14192
|
add typechecking for returns, fix finding of constructors, fix if statement
|
2024-06-11 20:04:59 +02:00 |
|
|
a62fe50a0d
|
Merge remote-tracking branch 'origin/create-parser' into typedAST
|
2024-06-11 18:50:39 +02:00 |
|
fanoll
|
98b02446ba
|
remove unused thisMeth type. Returns are combined and already checked against return Type
|
2024-06-10 12:53:59 +02:00 |
|
|
82b2b4a6e1
|
fix intliteral 0
|
2024-05-31 17:39:56 +02:00 |
|
|
3d351ee02b
|
fix false error message
|
2024-05-31 17:11:46 +02:00 |
|