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
d99ff64fad
implemented else handling
2016-10-18 17:00:35 +00:00
0ecdc29ac1
started the if handling
2016-10-15 08:49:27 +00:00
84f2ebeae4
improved break handling further
2016-10-13 07:41:10 +00:00
5c92919c6a
added the until loop
2016-10-12 07:30:54 +00:00
eddf0f7925
handled the while loop almost in full
2016-10-11 10:29:37 +00:00
11660267e2
added some code to handle while
2016-10-10 11:36:24 +00:00
dc34bd05e5
refactored comp.c a bit
2016-10-08 17:22:48 +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
3092c6c17c
added some code to handle local variable declaration
2016-10-01 04:36:48 +00:00
d9d1cd2fc9
did something on temporary variable and argument handling
2016-09-29 13:20:09 +00:00
256efdb134
added initial hcl files
2016-09-28 14:40:37 +00:00