Commit Graph

120 Commits

Author SHA1 Message Date
b57073b1bb more code to implement class 2021-06-27 17:47:51 +00:00
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
5232bcfc6c changed compile_return() to cater for exception handling 2021-06-18 19:07:36 +00:00
4e84151b88 work in progress - enhancing compiler to support class definition 2021-06-18 18:54:50 +00:00
e168ee04de experiment to convert an error from a primitive function to an exception 2021-06-18 07:10:38 +00:00
73942c5331 making a useless commit 2021-06-07 01:11:17 +00:00
e2b50c68a4 more code to implement class 2021-06-01 09:50:35 +00:00
628846ff16 implementing defclass 2021-05-31 16:20:18 +00:00
470d8f38db trying to change some code 2021-05-31 08:59:18 +00:00
e946330cbd added some code to handle defclass 2021-05-29 05:44:29 +00:00
a104f3ad5b implemented multiple return values assignment with set-r 2021-05-15 05:31:36 +00:00
e1e96e6813 enhanced compile_return() to handle 'return' differently in a function block containing return variables 2021-05-13 15:54:30 +00:00
32405a46eb some more code to support multiple return values via return variables 2021-05-13 14:43:40 +00:00
5f7dc95f40 writing code to implement return variables 2021-05-09 15:32:54 +00:00
2cd3a0cc6e enhancing the compiler to support the variable argument list with the ellipsis 2021-05-07 08:53:01 +00:00
775e5736ee fixed issues related to the new make_block, make_function instruction scheme 2021-05-06 17:44:58 +00:00
26392cc729 fixing bugs 2021-05-06 14:47:37 +00:00
a3fba2a826 updating code to handle the new make_block, make_function scheme 2021-05-06 08:14:00 +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
2618dad287 changing the encoding scheme to store the block temporaries 2021-05-04 09:48:19 +00:00
910d1f1917 fixed a bug in prepare_new_context() and fork handling 2021-05-01 11:26:59 +00:00
041a6c1002 added hcl_compile_flag_t 2021-04-24 13:50:51 +00:00
e95200c804 changed code for emit_indexed_variable_access() 2021-04-23 08:27:23 +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
60f8ac0c5f coding the compiler to handle an exception variable in the catch part 2021-04-22 09:35:26 +00:00
2478de13fa trying to implement the exception variable in catch 2021-04-22 00:00:12 +00:00
4dc1d9b584 fixed a flaw in collect_local_vardcl(). 2021-04-20 16:17:15 +00:00
b7c03b44de updated HCL_PROCESS_NAMED_INSTVARS 12 to 13 2021-04-20 13:45:22 +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
1ee3716f59 committing broken interim code 2021-04-09 01:23:08 +00:00
e33c79725d added a few string formatting functions 2021-03-30 05:37:00 +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
b2600c2124 removed 'return' from where it's not needed 2021-02-28 06:43:22 +00:00
61a2c8cd60 added the try_catch instruction 2021-02-22 14:56:27 +00:00
593b0ad98c enhancing the compiler to support (try ... catch ...) 2021-02-22 09:20:45 +00:00
2eb5fd7824 trivial changes 2021-02-21 16:55:45 +00:00
6e2632119d fixed some compiler bugs in processing weird if..elif..else expressions without body parts - (if true), (if false else), (if false elif true) 2021-02-18 15:48:44 +00:00
e4f5a310aa fixed some process management code 2021-02-02 23:43:12 +00:00
9d1687ea62 fixed a flaw in post_lambda() in the compiler code 2021-02-01 13:26:48 +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
d3ad99a719 made enhancement to show location information for the ECALL runtime error 2021-01-29 12:39:31 +00:00