Commit Graph

655 Commits

Author SHA1 Message Date
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
da53330eb4 minor indentation fix in std.c 2021-05-23 18:23:18 +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
6705423972 adding va-count, va-get, va-context for handling variable arguments 2021-05-16 10:32:27 +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
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
a67da34260 writing code for return variables support 2021-05-11 15:04:53 +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
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
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