Commit Graph

47 Commits

Author SHA1 Message Date
2bd78d2bfc added hcl_attachiostdwithucstr().
updated hcl_readbaseinraw()
2023-05-19 00:16:51 +09:00
893e5d4c89 add hcl_attachiostd().
moved the default io handler from bin/main.c to lib/std.c
2023-05-18 10:24:01 +09:00
cc07e0f58e renamed hcl_readchar() to chl_readbaseinchar().
changed its behavior to work on hcl->c->inarg only
fixed bugs in feed_begin_include() and feed_end_include()
fixed the bug for which the location information is not updated in reading an included file and feeding its content
2022-08-02 13:41:13 +00:00
1bf908e6ba some minor code touch-up 2022-07-31 13:17:44 +00:00
72b0da966f fixed the vlist reading in the feed-based reader 2022-07-30 03:02:57 +00:00
f3c3bfcf07 enhanced the feed_loop() in bin/main.c 2022-07-29 14:41:00 +00:00
6bcf266107 some minor code clean-up 2022-07-29 11:39:13 +00:00
e6d204c766 some more code for the feed-based reader 2022-07-29 11:29:47 +00:00
2543b0d634 coding include file handling in the feed-based reader 2022-07-28 14:07:18 +00:00
3d6abc38bd updated the feed-based reader to handle hashmarked character literals 2022-07-23 06:57:01 +00:00
65aacaaf4f some work done for the feed based reader 2022-07-22 08:02:14 +00:00
fb9e2b05ac deleted a debug message line 2022-07-18 13:59:45 +00:00
173e2e1a06 updated the main hcl main loop to start implementing the feed-based reader 2022-07-18 10:28:36 +00:00
60c9fe8ac9 implementing hcl_feed() 2022-05-25 14:23:43 +00:00
ff6f895c31 minor update of an error message 2021-12-31 06:31:57 +00:00
4a0ecfa0f1 improving the compiler code 2021-11-21 16:02:39 +00:00
b78513ad0a fixed a minor typecasting flaw 2021-07-24 15:28:59 +00:00
fe019aef1f tabulated some data in bin/main.c 2021-07-19 19:23:18 +00:00
28bac46b39 added HCL_LOG_TARGET_BCS and HCL_LOG_TARGET_UCS 2021-07-19 18:59:17 +00:00
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