Commit Graph

36 Commits

Author SHA1 Message Date
3d4e161a5f added 'class_push_exit'
enhanced the compiler to produce 'pop_stacktop' at the end of the class if the class body is not empty
2021-12-24 00:05:58 +00:00
4a0ecfa0f1 improving the compiler code 2021-11-21 16:02:39 +00:00
2f2baf2f59 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
2fbb2eda6c wrote more code to support classes 2021-06-25 15:19:11 +00:00
5cd8bc15ed added the class_enter and class_exit instructions - partially implemented yet 2021-06-19 17:19:24 +00:00
03cb4c67fb implementing make_class instructoin 2021-05-21 09:59:35 +00:00
550e39e21e some more code to support multiple return values via return variables 2021-05-13 14:43:40 +00:00
faea7b60df writing code for return variables support 2021-05-11 15:04:53 +00:00
c37b695a76 fixing bugs introduced for block temporaries sheme 2021-05-05 17:37:26 +00:00
bd3730fd12 changed the block temporaries scheme 2021-05-05 14:37:01 +00:00
5537e1850a reimplementing try-catch 2021-04-11 15:08:27 +00:00
08149767b5 improving function block and control block handling in the compiler code 2021-04-09 08:22:40 +00:00
a20587537e minor code fixes 2021-03-27 10:32:23 +00:00
6631779768 added some code for throw 2021-02-28 17:00:28 +00:00
e61602082d added the try_catch instruction 2021-02-22 14:56:27 +00:00
7fc4262d01 made enhancement to show location information for the ECALL runtime error 2021-01-29 12:39:31 +00:00
41de130fe4 enhanced the new compiler to produce working bytecodes for the #() list 2021-01-24 15:45:28 +00:00
6720640ed7 adding some work-in-progress code to store debugging information for generated byte codes 2021-01-03 13:51:23 +00:00
a69434a96f enhancing the compiler and hcl_execute() for better interactive use 2020-10-08 09:25:54 +00:00
9d5e580387 fixing compiler bugs regarding MAKE_FUNCTION and literal frame rebasing 2020-10-07 08:06:49 +00:00
2b786018d7 changing vm implementation a bit. this commit is buggy 2020-10-04 18:21:05 +00:00
b8fd5c6712 experiments... 2020-09-22 09:19:53 +00:00
27e1e55a7c added hcl_getip(), hcl_getbclen(), hcl_getlflen()
renamed vm_checkpoint to vm_checkbc while adding a new parameter
2018-03-11 11:16:28 +00:00
67a334bc26 deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
e54096f2a0 changed copyright years 2018-02-07 14:13:13 +00:00
ca7da52af4 added bytearray compilation code 2018-02-07 13:55:22 +00:00
f904914d6a implemented dictionary printing 2018-02-07 10:55:20 +00:00
979ba97769 enhanced the compiler to handle array enclosed in #().
added partial code to handle dictionary enclosed in #{}
2018-02-07 07:35:30 +00:00
380784cf57 added printing routines 2018-02-05 15:59:32 +00:00
293222d5c5 trying to revive this project 2018-02-05 10:43:25 +00:00
c2216421b7 added the until loop 2016-10-12 07:30:54 +00:00
ad671fb493 added some code to handle while 2016-10-10 11:36:24 +00:00
15208b5e85 added some code to handle primitives and the call instruction 2016-10-06 17:49:47 +00:00
badf66c9d4 added some code for executing byte codes 2016-10-04 17:56:28 +00:00
55a5d2c3c6 did something on temporary variable and argument handling 2016-09-29 13:20:09 +00:00
94e690004d added initial hcl files 2016-09-28 14:40:37 +00:00