Commit Graph

55 Commits

Author SHA1 Message Date
f306982e56 set the defailt logging mask to 0.
fixed wrong format specifiers in std.c
2021-02-11 14:14:49 +00:00
82624a2073 moved the heapsize parameter from hcl_open() to hcl_ignite() 2021-02-09 17:47:22 +00:00
21096b9d9e allowed vmprim.alloc_heap() to create a bigger heap than requested.
enhanced the standard implementation(std.c) to attempt HUGETLB if the requested heap size is over 1/2 of the huge page size
2021-02-09 14:54:54 +00:00
505b4a181b adding hcl_openstd() 2021-02-07 17:57:35 +00:00
5149bd44b6 removed unneeded code
uniformize the naming of locptr, dbgl to dbgi
2021-02-01 03:32:09 +00:00
c193728e3f adding some work-in-progress code to store debugging information for generated byte codes 2021-01-03 13:51:23 +00:00
f68b80143a switching GC from semi-space copying to mark-sweep 2020-12-31 17:48:47 +00:00
0ad4d378ee Added some incomplete code for process-switching 2020-10-15 12:57:05 +00:00
59da10458d enhancing the compiler and hcl_execute() for better interactive use 2020-10-08 09:25:54 +00:00
6c89ec1a9c adding experimental changes for compiler enhancement 2020-09-24 08:24:47 +00:00
4d6b2f5dbf experiments... 2020-09-22 09:19:53 +00:00
03e270a789 renamed hcl_getrbtstyle() to hcl_get_rbt_style() 2019-11-18 14:09:57 +00:00
a20589ddf5 added the _instsize field to hcl_t, hcl_server_t, hcl_client_t 2019-06-21 12:36:25 +00:00
fbdb084fec refined the msb positioning functions
migrated hcl_isint()/hcl_isbigint() to hcl-prv.h
2019-05-04 17:56:45 +00:00
90bde8d14a 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
d0a42cdfae reorganized some callback functions into cb-impl.c 2018-11-03 15:57:14 +00:00
3c54f5e860 introduced the new type hcl_bitmask_t 2018-04-26 04:39:20 +00:00
747efa798a added hcl_setinloc() and called this on each .SCRIPT command received in the server 2018-04-12 02:50:37 +00:00
15410a7958 added HCL_MOD_INCTX to hcl
added HCL_SERVER_MODULE_INCTX to hcl server
2018-04-09 15:54:54 +00:00
fd3a812cf7 renamed some function names for naming consistency 2018-04-07 15:54:16 +00:00
b8c4ab0f8d implemented actor_max_runtime primitively using timer events 2018-03-15 10:30:06 +00:00
6806c2bd30 added timer functions 2018-03-15 08:35:38 +00:00
449ac10b9c moving code in main2.c to hcl-s.c 2018-03-13 10:20:33 +00:00
68fe9fc891 exported hcl_conv_ucs_to_bcs_with_cmgr() and similar functions
enhanced the sample server program
2018-03-12 16:45:42 +00:00
44df07c1e8 Added partial sample program to accept requests over a socket 2018-03-12 10:39:13 +00:00
873bc033b5 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
fac203eecd changed the position of abortion check 2018-03-11 03:05:42 +00:00
4443f9cdc2 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
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
b14799ebf2 changed configure.ac to reset DL_LIBS if it's set to 'none required' 2018-03-05 04:39:57 +00:00
743a3b2b53 added mmap/munmap check to configure.ac 2018-03-05 04:08:11 +00:00
d1ce53cb45 implemented the builtin primitive function sprintf 2018-03-05 03:35:44 +00:00
b93fd3dc98 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
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
967aa97dc8 work in progress to implement the builtin printf function 2018-02-24 04:01:19 +00:00
fb66acc5a4 enhanced HCL_BRANDOF() to avoid multiple comparisons.
added the eqk? builtin primitive
removed unnecessary lines
2018-02-23 07:17:23 +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
81fd56e34d deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:30:18 +00:00
e1bf0c6570 more error checks 2018-02-20 14:53: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
a8352ce3f5 adjusted bigint code 2018-02-13 11:48:16 +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
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
dbb66ebaf0 added the id field to process 2018-02-08 09:21:18 +00:00