Commit Graph

52 Commits

Author SHA1 Message Date
037174ddb6 adding hcl_openstd() 2021-02-07 17:57:35 +00:00
65c23a3ff5 removed unneeded code
uniformize the naming of locptr, dbgl to dbgi
2021-02-01 03:32:09 +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
11e831bbcc switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
852543ee19 Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
a69434a96f enhancing the compiler and hcl_execute() for better interactive use 2020-10-08 09:25:54 +00:00
b9ae46afff adding experimental changes for compiler enhancement 2020-09-24 08:24:47 +00:00
b8fd5c6712 experiments... 2020-09-22 09:19:53 +00:00
9b2f40c282 renamed hcl_getrbtstyle() to hcl_get_rbt_style() 2019-11-18 14:09:57 +00:00
e27058d771 added the _instsize field to hcl_t, hcl_server_t, hcl_client_t 2019-06-21 12:36:25 +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
2d9f5b51ad added sys.time, sys.random, sys.srandom.
removed test-bi.sh
wrote a simple bigint test program into test-bi.hcl
2019-04-17 03:46:39 +00:00
140682dfc4 reorganized some callback functions into cb-impl.c 2018-11-03 15:57:14 +00:00
deb53399a4 introduced the new type hcl_bitmask_t 2018-04-26 04:39:20 +00:00
7c886ae2e3 added hcl_setinloc() and called this on each .SCRIPT command received in the server 2018-04-12 02:50:37 +00:00
ae3745d5f3 added HCL_MOD_INCTX to hcl
added HCL_SERVER_MODULE_INCTX to hcl server
2018-04-09 15:54:54 +00:00
e92407221f renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
3228386c2c implemented actor_max_runtime primitively using timer events 2018-03-15 10:30:06 +00:00
6f69e018c4 added timer functions 2018-03-15 08:35:38 +00:00
34a23ef986 moving code in main2.c to hcl-s.c 2018-03-13 10:20:33 +00:00
3ba32a615d exported hcl_conv_ucs_to_bcs_with_cmgr() and similar functions
enhanced the sample server program
2018-03-12 16:45:42 +00:00
d51ad1cd6a Added partial sample program to accept requests over a socket 2018-03-12 10:39:13 +00:00
27e1e55a7c added hcl_getip(), hcl_getbclen(), hcl_getlflen()
renamed vm_checkpoint to vm_checkbc while adding a new parameter
2018-03-11 11:16:28 +00:00
f9e60cea28 changed the position of abortion check 2018-03-11 03:05:42 +00:00
536f7fd9f2 added hcl_abort()
taken out vm_startup and vm_cleanup from hcl_vmprim_t and moved them to hcl_cb_t
2018-03-10 17:53:44 +00:00
a60bd0c898 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
02b02865ac work in progress to add the hcl_purgeatdic() function 2018-03-08 10:00:57 +00:00
474d48a211 changed configure.ac to reset DL_LIBS if it's set to 'none required' 2018-03-05 04:39:57 +00:00
3eac18548c added mmap/munmap check to configure.ac 2018-03-05 04:08:11 +00:00
e3b5d33811 implemented the builtin primitive function sprintf 2018-03-05 03:35:44 +00:00
9094157e28 fixed print_formatted() to use hcl_outfmtobj() instead of hcl_print().
added 2 new optional callbacks - vmprim.alloc_heap and vmprim.free_heap
2018-03-01 14:47:12 +00:00
c865de4d61 changed the prototype of hcl_pfimpl_t to accept a hcl_mod_t* pointer 2018-02-28 04:52:01 +00:00
ef51ee4a1d enhanced the logfmtv to handle encoding conversion of the format string 2018-02-26 15:24:45 +00:00
7e6b16e153 work in progress to implement the builtin printf function 2018-02-24 04:01:19 +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
a39e38cc8d made hcl immune to an error number/message set in the log_write callback 2018-02-22 04:35:55 +00:00
67a334bc26 deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
a1ce05a5fb more error checks 2018-02-20 14:53:12 +00:00
270a762e32 added some builtin modules, but without many functions in them 2018-02-15 15:36:15 +00:00
2a0551df2d 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
46a4bd1561 fixed to use hcl-wide temporary buffers when converting an integer to a string 2018-02-15 06:58:36 +00:00
eff0957fbb adjusted bigint code 2018-02-13 11:48:16 +00:00
2201ee5a94 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
4ddffc101d mapped a dotted identifer to a primitive function 2018-02-12 10:50:44 +00:00
b1679f636f added some error messsages 2018-02-09 04:27:24 +00:00
0546665e95 renamed prim to pf.
added module manipulation functions
2018-02-09 04:24:50 +00:00
08d6f4b4ad added the id field to process 2018-02-08 09:21:18 +00:00
e54096f2a0 changed copyright years 2018-02-07 14:13:13 +00:00
ca7da52af4 added bytearray compilation code 2018-02-07 13:55:22 +00:00
7826f0ff06 changed the reader to handle #(), #[], #{}, '() specially 2018-02-06 10:16:01 +00:00