Commit Graph

531 Commits

Author SHA1 Message Date
041a6c1002 added hcl_compile_flag_t 2021-04-24 13:50:51 +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
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
07cc5d6eba removed a duplicate line 2021-04-20 14:11:00 +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
e9814d98b4 more robust error handling in std.c 2021-03-30 06:13:46 +00:00
e33c79725d added a few string formatting functions 2021-03-30 05:37:00 +00:00
7f77f87c29 attempted to emulate socketpair() where it's unavailable 2021-03-30 01:37:36 +00:00
1160926a32 added hcl_dupucstr(), hcl_dupbcstr() 2021-03-28 18:12:07 +00:00
0de8ae34d1 some more code cleanup 2021-03-28 03:44:27 +00:00
ef83e4f57b minor code fixes 2021-03-27 10:32:23 +00:00
cf19ce54b9 fixed minor flaws in the code 2021-03-25 16:53:05 +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
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
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
f306982e56 set the defailt logging mask to 0.
fixed wrong format specifiers in std.c
2021-02-11 14:14:49 +00:00
324293d626 fixed a bug in hcl_allocheap() 2021-02-11 09:35:38 +00:00
82624a2073 moved the heapsize parameter from hcl_open() to hcl_ignite() 2021-02-09 17:47:22 +00:00
431b7d17f3 touched up code a bit 2021-02-09 15:06:41 +00:00
21096b9d9e allowed vmprim.alloc_heap() to create a bigger heap than requested.
enhanced the standard implementation(std.c) to attempt HUGETLB if the requested heap size is over 1/2 of the huge page size
2021-02-09 14:54:54 +00:00
7f510f51d0 removed unneeded code 2021-02-08 15:50:53 +00:00
1cfc1d1d37 removed cb-impl.c and cb-impl.h 2021-02-08 15:42:24 +00:00
27f75900a8 used hcl_openstdwithmmgr() in hcl-s.c and deleted unneeded code 2021-02-08 09:41:40 +00:00
b877a0a6d9 initialized the io multiplexer properly in cb_vm_startup() 2021-02-08 09:16:53 +00:00
afd6087694 added std.c 2021-02-07 17:58:23 +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
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
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