Commit Graph

675 Commits

Author SHA1 Message Date
4b0d4b3ab4 enhanced pf_log to print a character without quotes.
fixed formatting specifiers in log_char_object() in prim.c
2018-02-21 13:13:25 +00:00
39bbd8a2a0 added a new debugging macro HCL_DEBUG_LEXER
removed the debugging macro HCL_DBEUG_BIGINT
2018-02-21 13:02:05 +00:00
d0a9385c74 enhanced --enable-unicode to accept ucs4 and ucs2 in addition to yes/no.
redefined the moo_uch_t type to follow the enable-unicode value
2018-02-21 10:12:47 +00:00
81fd56e34d deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
345b36ded4 localized a local variable into a loop in PUT_OOCH and PUT_OOCS in logfmtv 2018-02-21 08:54:13 +00:00
b48de34ebc fixed the premature termination issue in logfmtv 2018-02-21 08:48:47 +00:00
b661dcb0f4 changed the wrong field name when HCL_OOCH_IS_BCH 2018-02-21 07:54:38 +00:00
ab8d276a9b cleaned up code a bit 2018-02-21 07:38:59 +00:00
ad0534a18e added --enable-unicode to configure.ac
cleaned up unnecessary code
2018-02-21 07:37:10 +00:00
e1bf0c6570 more error checks 2018-02-20 14:53:12 +00:00
524f938a1f changed the main loop a little bit 2018-02-20 14:10:09 +00:00
e757c7598d removed NDEBUG enclosing karatsuba_cutoff 2018-02-20 10:27:11 +00:00
2bbb4262e4 made hcl_inttooow() and hcl_oowtoint() public 2018-02-19 16:17:46 +00:00
b22d72e254 added arr.size 2018-02-19 16:14:22 +00:00
d5d661a6fb added arr.put 2018-02-19 10:03:02 +00:00
c46f319397 added linguist rules into .gitattributes 2018-02-18 16:15:49 +00:00
261e51a5c7 added the empty .gitattributes files 2018-02-18 16:15:12 +00:00
aa1312914b added the gc builtin function 2018-02-18 15:02:57 +00:00
46731890c9 Added dic.put 2018-02-17 17:01:48 +00:00
2851d9177e deleted redundant files 2018-02-17 16:50:07 +00:00
a82e3d4cf8 change dic.get to return an error code upon search failure 2018-02-17 16:45:17 +00:00
8432b45d2c deleted unneeded code 2018-02-17 16:09:44 +00:00
810803db08 added some error checks for error literals and smptr literals 2018-02-17 16:01:27 +00:00
c6e6fb497d implemented the single quote character literal.
added the error literal and the smptr literal notations and types
2018-02-17 15:42:12 +00:00
a29e4a3edc added some builtin modules, but without many functions in them 2018-02-15 15:36:15 +00:00
e62ad1e471 enhanced hcl_inttostr() to keep results in the temporary buffer when ngc is negative.
changed the integer printing function to utilize this change in print.c
2018-02-15 08:05:48 +00:00
763d8dddb2 fixed to use hcl-wide temporary buffers when converting an integer to a string 2018-02-15 06:58:36 +00:00
7ca201d1a9 added reader & compiler check to filter out special symbols when processing argument and variable names in more contexts 2018-02-15 01:39:00 +00:00
d254630b14 fixed the wrong buggy argument to hcl_decode() in main.c 2018-02-13 16:19:16 +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
48743e6abe changed mod_test to mod_fake_test. this will eventually be removed 2018-02-13 02:30:06 +00:00
56786973a0 removed duplicate hcl_t definition 2018-02-13 02:26:37 +00:00
350359f469 added hcl_walkdic
fixed a bug of not printing the list closer properly in hcl_print().
enhanced error handling
2018-02-12 16:51:38 +00:00
8492bb8bd9 mapped a dotted identifer to a primitive function 2018-02-12 10:50:44 +00:00
0d3ef9fa34 fixed the way to drive hcl in main.c 2018-02-09 17:15:31 +00:00
2601ef0541 implemented (do ...) 2018-02-09 16:10:29 +00:00
e4906731ae implemented defun as a shortcut to (set xxxx (lambda () ..)) 2018-02-09 15:27:02 +00:00
6dfbd16871 improved error messsages 2018-02-09 15:04:18 +00:00
bc7c7ab4dc added some error messsages 2018-02-09 04:27:24 +00:00
46602c4511 renamed prim to pf.
added module manipulation functions
2018-02-09 04:24:50 +00:00
a8969a53f3 added -ldl to the build process 2018-02-09 04:02:17 +00:00
1457d91215 added dl_xxx vm primtiives 2018-02-09 03:48:30 +00:00
876fed4ecd fixed header includsion in main.c 2018-02-09 01:13:11 +00:00
679b3dd7a0 set default type mask in moo_compile() and moo_executefromip().
changed the main program a little bit
2018-02-08 15:04:07 +00:00
acf0681876 regenerated build files 2018-02-08 14:44:06 +00:00
b6b8b3e7cb added more vm primitives 2018-02-08 14:40:56 +00:00
7d17b59603 added hcl_executefromip() 2018-02-08 10:33:59 +00:00
dbb66ebaf0 added the id field to process 2018-02-08 09:21:18 +00:00
9270dfa0e7 touched up code. added eqv? eql? not 2018-02-08 07:40:27 +00:00