Commit Graph

30 Commits

Author SHA1 Message Date
9c021aa36f the new compiler is becoming usable. but not complete yet.
added more string copy functions
2021-01-22 14:43:47 +00:00
919ab8f57e coding a better compiler 2021-01-17 17:45:39 +00:00
c193728e3f adding some work-in-progress code to store debugging information for generated byte codes 2021-01-03 13:51:23 +00:00
ff7182001e fixed an issue with an old compiler 2020-12-31 18:15:27 +00:00
f68b80143a switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
a78454fd77 fixed a gc error not fixed in the previous commit 2020-10-04 19:07:21 +00:00
4d0f0e1f9e changing vm implementation a bit. this commit is buggy 2020-10-04 18:21:05 +00:00
5b7b2c0dea 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
fbdb084fec refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
6632745618 redefined hash functions 2019-03-06 01:50:46 +00:00
41cd561b21 fixed a bug in alloc_numeric_array() that allocated the extra 'len' bytes instead of a single extra 'unit' bytes 2018-12-10 09:26:34 +00:00
fd3a812cf7 renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
11c464fde4 disallowed fixed point decimal literal with no digit after the point.
fixed a bug in hcl_divnums
2018-03-30 17:37:40 +00:00
7515894082 started adding fpdec calculation functions 2018-03-28 16:40:42 +00:00
4648947ca0 implemented reading and printing of fixed-point decimal number. primitives yet to be written 2018-03-28 08:57:49 +00:00
b97e2da6af enhanced the logfmtv to handle encoding conversion of the format string 2018-02-26 15:24:45 +00:00
fb66acc5a4 enhanced HCL_BRANDOF() to avoid multiple comparisons.
added the eqk? builtin primitive
removed unnecessary lines
2018-02-23 07:17:23 +00:00
a7fcf50a89 added hcl_getlastretv().
enhanced hcl_hashobj() to return hash values for nil, true, false
2018-02-22 07:41:03 +00:00
81fd56e34d deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
ad0534a18e added --enable-unicode to configure.ac
cleaned up unnecessary code
2018-02-21 07:37:10 +00:00
f054f4eaae integrated bigint
cleaned up code
2018-02-13 16:10:41 +00:00
a8352ce3f5 adjusted bigint code 2018-02-13 11:48:16 +00:00
2601ef0541 implemented (do ...) 2018-02-09 16:10:29 +00:00
a8729532bb changed copyright years 2018-02-07 14:13:13 +00:00
b747b4e23a implemented dictionary printing 2018-02-07 10:55:20 +00:00
adc7e89ca7 enhanced the compiler to handle array enclosed in #().
added partial code to handle dictionary enclosed in #{}
2018-02-07 07:35:30 +00:00
71a10e09c6 trying to revive this project 2018-02-05 10:43:25 +00:00
dc2b007550 added some code to handle primitives and the call instruction 2016-10-06 17:49:47 +00:00
070cead567 added some code for executing byte codes 2016-10-04 17:56:28 +00:00
256efdb134 added initial hcl files 2016-09-28 14:40:37 +00:00