fbdb084fec
refined the msb positioning functions
...
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
0051809442
changed hcl_inttostr()
...
touched up log output and formatted output functions
2019-04-16 15:46:00 +00:00
0f92c54f28
added hcl_getsynerrnum() and enhanced EOF handling
2018-07-28 04:08:09 +00:00
3c54f5e860
introduced the new type hcl_bitmask_t
2018-04-26 04:39:20 +00:00
f0a823a557
added the abs primitive function
2018-04-07 02:28:38 +00:00
a332acdc4b
renamed some encoding functions for consistency
2018-04-06 16:33:17 +00:00
65be1f4daa
changed notation from #{} to #()
2018-04-06 14:21:47 +00:00
2242dc9761
changed hcl to be more json friendly including changing various notations and grammars
2018-04-06 08:33:25 +00:00
650606fd5b
added partial sqrt function
2018-04-03 14:02:40 +00:00
c62ec3c6c9
added hcl_mltnums() which scales the result according to the first parameter
2018-04-02 12:52:10 +00:00
1091c8f401
added hcl_genums(), hcl_gtnums(), hcl_lenums(), hcl_ltnums(), hcl_eqnums(), hcl_nenums()
2018-04-02 12:28:09 +00:00
ea1dc78a17
added hcl_truncfpdevcal().
...
fixed bugs in sprintf
2018-04-01 17:09:07 +00:00
b9034225c1
implemented basic arithmetic operations for fixed-point decimals
2018-03-30 15:43:09 +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
b8ca47f7f9
exposed hcl_addbuiltinprims().
2018-03-19 09:22:12 +00:00
9ad4eda80e
added the used field to hcl_server_wid_map_data_t
...
started implementing .SHOW-WORKERS and .KILL-WORKER
2018-03-16 17:27:24 +00:00
7371618c5b
exported hcl_seterrbfmtv(), hcl_seterrufmtv()
...
added hcl_server_seterrbfmt(), hcl_server_seterrufmt(), hcl_server_seterrbfmtv(), hcl_server_seterrufmtv()
added socket address conversion functions
2018-03-14 14:40:05 +00:00
d8499cc3a9
put the hcl server code into a library
2018-03-14 10:14:38 +00:00
4056b96a0f
removed a duplicate macro definition in hcl-prv.h
2018-03-11 17:08:02 +00:00
e5499cda1b
renamed hcl_purgeatdic() to hcl_zapatdic()
...
exposed hcl_moveoop()
extended the meaning of the kernel bits in the object flags
extended hcl_pfbase_t to include the type - one of HCL_PFBASE_FUNC, HCL_PFBASE_VAR, HCL_PFBASE_CONST. HCL_PFBASE_CONST not fully implemented yet
2018-03-08 14:18:30 +00:00
03d0dcfa76
work in progress to add the hcl_purgeatdic() function
2018-03-08 10:00:57 +00:00
d1ce53cb45
implemented the builtin primitive function sprintf
2018-03-05 03:35:44 +00:00
bc6c14808f
added the logf builtin function
2018-03-01 09:46:02 +00:00
191162d3cb
touched up various remaining implementation details of the printf builtin function.
2018-03-01 05:25:09 +00:00
5a61ea7bdb
enhanced hcl_inttostr() to accept a negative radix to produce lower-case alphabetic digits
2018-02-28 15:57:19 +00:00
8bcade7a2e
changed the prototype of hcl_pfimpl_t to accept a hcl_mod_t* pointer
2018-02-28 04:52:01 +00:00
b97e2da6af
enhanced the logfmtv to handle encoding conversion of the format string
2018-02-26 15:24:45 +00:00
fa3d527bd9
changed the reader to use a stack of 4-item arrays instead of chains of 3 cons cells
...
cleaned up some unused code
2018-02-22 10:02:39 +00:00
09af995779
made hcl immune to an error number/message set in the log_write callback
2018-02-22 04:35:55 +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
81fd56e34d
deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE
2018-02-21 09:30:18 +00:00
2bbb4262e4
made hcl_inttooow() and hcl_oowtoint() public
2018-02-19 16:17:46 +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
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
f054f4eaae
integrated bigint
...
cleaned up code
2018-02-13 16:10:41 +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
46602c4511
renamed prim to pf.
...
added module manipulation functions
2018-02-09 04:24:50 +00:00
b6b8b3e7cb
added more vm primitives
2018-02-08 14:40:56 +00:00
dbb66ebaf0
added the id field to process
2018-02-08 09:21:18 +00:00
a8729532bb
changed copyright years
2018-02-07 14:13:13 +00:00
839bef7b36
added bytearray compilation code
2018-02-07 13:55:22 +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
77f4e53a77
added partial code for HCL_CODE_MAKE_DICTIONARY, HCL_CODE_MAKE_ARRAY, etc
2018-02-06 13:52:58 +00:00
ddfc163c37
changed the reader to handle #(), #[], #{}, '() specially
2018-02-06 10:16:01 +00:00
0adbd2291e
added printing routines
2018-02-05 15:59:32 +00:00
71a10e09c6
trying to revive this project
2018-02-05 10:43:25 +00:00