55 Commits

Author SHA1 Message Date
simonkellet
54d9f06a9e merge 2022-10-10 13:56:38 +01:00
simonkellet
693d933c19 repeatuntil works 2022-10-10 13:39:00 +01:00
simonkellet
c9ca3c5bba bardemo works 2022-10-10 13:34:03 +01:00
Sandy Brownlee
ce307a11a6
Update ConstantFolder.java 2022-10-06 17:20:59 +01:00
Sandy Brownlee
55fdd944fa Changes for constant folding 2022-09-30 00:10:27 +01:00
simonkellet
e1268aae42 end of practical3 (no bonus) 2022-09-27 10:23:16 +01:00
simonkellet
4341d02572 end of practical 2 2022-09-23 16:59:48 +01:00
simonkellet
fab24be627 added success test for multi-line 2022-09-23 15:32:59 +01:00
simonkellet
6b7fdd3bb0 added multi-line comment support 2022-09-23 15:32:37 +01:00
Sandy Brownlee
0c1b2530fa Amended comments in Encoder 2022-09-22 17:37:52 +01:00
simonkellet
befe8f93a2 eclipse and gradle changes 2022-09-20 18:24:46 +01:00
simonkellet
cd280e3c4b added test case for new comment 2022-09-20 18:22:25 +01:00
simonkellet
d28b3c7403 added new comment 2022-09-20 18:22:03 +01:00
Sandy Brownlee
3dade998ba possible fix for windows 2022-09-15 17:42:16 +01:00
Sandy Brownlee
f4e1a08f61 minor fix to tests 2022-09-09 17:08:30 +01:00
Sandy Brownlee
c3c2076d9e repeat until 2022-09-09 16:33:13 +01:00
Sandy Brownlee
64c25f1486 Added pounddemo 2022-09-09 15:46:22 +01:00
Sandy Brownlee
11be265081 Added object filename option to Compiler 2022-09-09 12:02:55 +01:00
Sandy Brownlee
6820b55cf1 Streamlined unit tests 2022-09-08 19:47:22 +01:00
Sandy Brownlee
f709234c4e Added unit tests for bad syntax in hi-newcomment.tri 2022-09-08 19:38:02 +01:00
Sandy Brownlee
07b0d85bdf added test 2022-09-08 17:57:48 +01:00
Sandy Brownlee
3de9d5e0cc Merge branch 'main' into java11 2022-09-01 16:48:54 +01:00
Sandy Brownlee
4be8f47351 bugfix for duplicate formal params 2022-08-31 16:56:56 +01:00
Sandy Brownlee
82a5535d19 Fixed nullpointer caused by missing Frame object 2022-08-31 16:34:48 +01:00
Sandy Brownlee
62b666992a Fix for type checking error in visitDotVName 2022-08-31 15:01:38 +01:00
Sandy Brownlee
afc2b3e760 bugfix 2022-08-19 17:28:49 +01:00
Sandy Brownlee
d12fc63571 fixes for variable declarations 2022-08-19 16:28:13 +01:00
Sandy Brownlee
01f468f07d Java 11 compatibility 2022-08-18 13:22:06 +01:00
Sandy Brownlee
e6487369ef TreeDrawer is now centered when opened 2022-08-11 10:37:51 +01:00
Sandy Brownlee
d45c2339e1 Bugfix (emitter before encoder) and additions for tree vis 2022-08-10 17:52:58 +01:00
Sandy Brownlee
0233c814ac Added some comments to scanner 2022-07-01 17:04:00 +01:00
Deryck Brown
1000524e35 Removed unused declarations. 2022-05-30 20:07:54 +01:00
Deryck Brown
5cf07d1198 Improved checker code using declaration interfaces and overloaded error
reporting.
2022-05-30 20:04:37 +01:00
Deryck Brown
a6a078680c Simplify code generation using overridden AST methods. 2022-05-23 21:39:42 +01:00
Deryck Brown
fbada163d4 Removed unnecessary interface implementation. 2022-05-22 14:31:52 +01:00
Deryck Brown
bffeafba10 Renamed packages to match Java guidelines. 2022-05-22 14:15:46 +01:00
Deryck Brown
55f6b2d105 Switch to generic visitor pattern. 2022-05-22 13:59:44 +01:00
Deryck Brown
c8ed9462d8 Updated Gradle build files. 2022-05-13 20:38:22 +01:00
Deryck Brown
d55ab77d0a Updated .gitignore. 2022-05-12 20:52:37 +01:00
Deryck Brown
2b0f3537de Switch from Maven to Gradle projects. 2022-05-12 20:32:02 +01:00
Deryck Brown
74b1117030 Added gradle build files. 2022-05-12 20:31:34 +01:00
Deryck Brown
c183dd4c24 Use "visit(this)" instead of "visit(this, null)". 2022-05-12 20:31:06 +01:00
Deryck Brown
5292b42be6 Removed "the" prefix on variable names. 2022-05-12 20:29:47 +01:00
Deryck Brown
a02acc009b Format code and fix warnings. 2022-05-12 18:44:37 +01:00
Deryck Brown
2c426b5b2e Replace "new Integer" with "Integer.valueOf". 2022-05-12 18:39:02 +01:00
Deryck Brown
ae20dc2126 Fixed deprecation warning for "show()". 2022-05-12 18:07:50 +01:00
Deryck Brown
1bc91a2394 Added serialVerionUID constants. 2022-05-12 18:06:56 +01:00
Deryck Brown
5fa828c450 Clean up source code using default Eclipse settings. 2022-05-12 18:01:59 +01:00
Deryck Brown
b9ed079ce1 Updated .gitignore. 2022-05-12 17:58:59 +01:00
Deryck Brown
0e04f43105 Removed unwanted file. 2022-05-12 17:58:32 +01:00