Commit Graph

31 Commits

Author SHA1 Message Date
a20587537e minor code fixes 2021-03-27 10:32:23 +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
e4ae7add8b coding a better compiler 2021-01-17 17:45:39 +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
c6145a2302 fixed an issue with an old compiler 2020-12-31 18:15:27 +00:00
11e831bbcc switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
1b07957718 fixed a gc error not fixed in the previous commit 2020-10-04 19:07:21 +00:00
2b786018d7 changing vm implementation a bit. this commit is buggy 2020-10-04 18:21:05 +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
6e5a92a041 refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
fd99432186 redefined hash functions 2019-03-06 01:50:46 +00:00
e935ba7221 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
e92407221f renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
e466c6b68a 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
116512ae9d started adding fpdec calculation functions 2018-03-28 16:40:42 +00:00
3a30ffda7b implemented reading and printing of fixed-point decimal number. primitives yet to be written 2018-03-28 08:57:49 +00:00
ef51ee4a1d enhanced the logfmtv to handle encoding conversion of the format string 2018-02-26 15:24:45 +00:00
9498530691 enhanced HCL_BRANDOF() to avoid multiple comparisons.
added the eqk? builtin primitive
removed unnecessary lines
2018-02-23 07:17:23 +00:00
4876d1775c added hcl_getlastretv().
enhanced hcl_hashobj() to return hash values for nil, true, false
2018-02-22 07:41:03 +00:00
67a334bc26 deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
cfdc22ee60 added --enable-unicode to configure.ac
cleaned up unnecessary code
2018-02-21 07:37:10 +00:00
f802bec44a integrated bigint
cleaned up code
2018-02-13 16:10:41 +00:00
eff0957fbb adjusted bigint code 2018-02-13 11:48:16 +00:00
eff4be881f implemented (do ...) 2018-02-09 16:10:29 +00:00
e54096f2a0 changed copyright years 2018-02-07 14:13:13 +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
293222d5c5 trying to revive this project 2018-02-05 10:43:25 +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
94e690004d added initial hcl files 2016-09-28 14:40:37 +00:00