Commit Graph

78 Commits

Author SHA1 Message Date
999024e54b added hcl_compile_flag_t 2021-04-24 13:50:51 +00:00
9f89bd7c1b some more code cleanup 2021-03-28 03:44:27 +00:00
43322c6901 moved the heapsize parameter from hcl_open() to hcl_ignite() 2021-02-09 17:47:22 +00:00
1d0c7a8bbc 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
aa8f8fac2d removed unneeded code 2021-02-08 15:50:53 +00:00
037174ddb6 adding hcl_openstd() 2021-02-07 17:57:35 +00:00
65c23a3ff5 removed unneeded code
uniformize the naming of locptr, dbgl to dbgi
2021-02-01 03:32:09 +00:00
0568cb0ae3 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
db9e0f5248 cleaned up a bit 2021-01-29 17:24:13 +00:00
d19fab7e3f renamed hcl_read2() and hcl_compile2() to hcl_read() and hcl_compile() respectively 2021-01-29 08:40:10 +00:00
d4fbd0a298 removed hcl_read() and hcl_compile().
in the next commit(), hcl_read2() and hcl_compile2() will get renamed to hcl_read() and hcl_compile() respectively
2021-01-29 08:35:31 +00:00
8829e27c33 preparing to produce debug information 2021-01-26 10:10:18 +00:00
51e347889d the new compiler is becoming usable. but not complete yet.
added more string copy functions
2021-01-22 14:43:47 +00:00
58165aad49 updated lambda/return/return-from-home compiling code in the new compiler 2021-01-21 14:59:01 +00:00
e4ae7add8b coding a better compiler 2021-01-17 17:45:39 +00:00
b327791484 experimenting with the new reader 2021-01-15 09:12:28 +00:00
2c49ebe558 renamed --memsize to --heapsize in bin/main.c
allowed 0 as a heap size to indicate no use of xma
2021-01-01 07:34:21 +00:00
852543ee19 Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
adb374f02d fixed non-local return behaviors 2020-10-13 14:44:00 +00:00
d127456da8 added hcl_block_t to express a base block. no more reuse of hcl_context_t for the base block 2020-10-09 07:14:32 +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
e30cbc844c writing code for function activation using function-local literal frame 2020-10-05 09:37:26 +00:00
c7e87698d0 still experimenting to find a good way to represent byte codes and literal frames in the interactive mode 2020-09-28 15:44:04 +00:00
20fb7f54b7 fixed a flaw in print_ucs() in fmt.c
renamed ENABLE_HCLEX to ENABLE_HCLX
2019-06-02 06:42:47 +00:00
16c7c290ce added hcl_prufmtv() and hcl_prbfmtv() 2019-06-02 05:06:08 +00:00
a161944682 refactored fmt code 2019-05-31 10:54:13 +00:00
4ce47cb435 added the bin directory and moves files for binary commands into it 2019-05-14 04:21:35 +00:00