Commit Graph

110 Commits

Author SHA1 Message Date
e74a4efd29 fixed initialization of hcl->nil_process
got rid of HCL_CODE_MAKE_CLASS and merged its feature to HCL_CODE_CLASS_ENTER
2021-06-25 16:07:29 +00:00
2033072791 wrote more code to support classes 2021-06-25 15:19:11 +00:00
8a7ca4dcb1 added the class_enter and class_exit instructions - partially implemented yet 2021-06-19 17:19:24 +00:00
e168ee04de experiment to convert an error from a primitive function to an exception 2021-06-18 07:10:38 +00:00
e946330cbd added some code to handle defclass 2021-05-29 05:44:29 +00:00
d7a8485609 some code for class instantiation 2021-05-21 16:21:23 +00:00
98f47ed295 implementing make_class instructoin 2021-05-21 09:59:35 +00:00
759a090284 added process termination primitives 2021-05-15 11:19:52 +00:00
a104f3ad5b implemented multiple return values assignment with set-r 2021-05-15 05:31:36 +00:00
32405a46eb some more code to support multiple return values via return variables 2021-05-13 14:43:40 +00:00
a67da34260 writing code for return variables support 2021-05-11 15:04:53 +00:00
1486795f15 fixing bugs introduced for block temporaries sheme 2021-05-05 17:37:26 +00:00
2f888200e8 changed the block temporaries scheme 2021-05-05 14:37:01 +00:00
5063c55bb4 trying to support variable arguments and return variables 2021-05-03 15:31:19 +00:00
910d1f1917 fixed a bug in prepare_new_context() and fork handling 2021-05-01 11:26:59 +00:00
5f25a9934a removed two unused variables 2021-04-24 13:53:50 +00:00
2498fa8e4e fixed a bug of not providing the number of temporaries when arraning the initial context 2021-04-23 15:46:35 +00:00
f7416341b6 try-catching working in the top-level now. implemented a way to secure space for top-level temporary variables 2021-04-23 07:17:40 +00:00
07cc5d6eba removed a duplicate line 2021-04-20 14:11:00 +00:00
f72ed9f260 simplified code a bit 2021-04-18 18:02:02 +00:00
1970ffa32a fixing code to implement exception handling 2021-04-14 16:20:18 +00:00
2030410184 working on try-catch implementation 2021-04-11 15:45:01 +00:00
32401bff58 reimplementing try-catch 2021-04-11 15:08:27 +00:00
35f3393bf5 improving function block and control block handling in the compiler code 2021-04-09 08:22:40 +00:00
5dd9e62ad0 added more code to implement simple exception handling 2021-03-02 15:58:13 +00:00
4f35e08f97 added some code for throw 2021-02-28 17:00:28 +00:00
5d426f7646 added the flags field to the context object 2021-02-24 16:57:26 +00:00
61a2c8cd60 added the try_catch instruction 2021-02-22 14:56:27 +00:00
505b4a181b adding hcl_openstd() 2021-02-07 17:57:35 +00:00
a37cd8acb7 added some semaphore handling code 2021-02-05 15:22:39 +00:00
8a3ff5abb1 preparing to implement semaphores 2021-02-03 14:50:51 +00:00
e4f5a310aa fixed some process management code 2021-02-02 23:43:12 +00:00
82d0c1ccca fixed some compiler bugs 2021-02-01 13:20:46 +00:00
5149bd44b6 removed unneeded code
uniformize the naming of locptr, dbgl to dbgi
2021-02-01 03:32:09 +00:00
d06fc25ab9 enhanced the vm to supplement the error message with debug information 2021-01-31 18:46:13 +00:00
9c3c3569e2 removed some unneeded code.
changed the source input handler to set the name field for the main stream
2021-01-30 16:13:27 +00:00
bda1de2fee cleaned up a bit 2021-01-29 17:24:13 +00:00
d3ad99a719 made enhancement to show location information for the ECALL runtime error 2021-01-29 12:39:31 +00:00
ea31979712 removed unneeded code 2021-01-29 09:41:39 +00:00
27c243b650 changing compiler code to preserve some debugging information 2021-01-27 08:47:08 +00:00
aee64add9b preparing to produce debug information 2021-01-26 10:10:18 +00:00
b5fe1068d0 found a bug upon VM abortion. yet to fix it 2021-01-24 15:53:35 +00:00
4ec9395543 enhanced the new compiler to produce working bytecodes for the #() list 2021-01-24 15:45:28 +00:00
c193728e3f adding some work-in-progress code to store debugging information for generated byte codes 2021-01-03 13:51:23 +00:00
0ae149a010 fixed to reset hcl->sp before returning from hcl_execute() 2020-12-31 19:03:37 +00:00
f68b80143a switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
74e6511b9c cleaned up code and build files 2020-11-15 10:26:14 +00:00
1fc06dac48 cleaned up build files 2020-11-15 09:56:06 +00:00
0ad4d378ee Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
17b582a5f2 removed irrelevant comments 2020-10-13 17:25:29 +00:00