Commit Graph

206 Commits

Author SHA1 Message Date
0c6b7a6ac8 adopted AX_CXX_COMPILE_STDCXX() for auto-detection of a c++11 capable compiler 2020-04-16 06:11:07 +00:00
c567b511f8 fixed a wrong test macro in t/t.h 2020-04-16 03:52:35 +00:00
c3d137a5c2 added %check to the rpm spec file.
renamed awk to hawk
updated copyright years
2020-04-16 03:42:30 +00:00
5f4635d455 added HAWK_OPT_MODLIBDIRS to specify search path for module files 2020-04-15 15:12:28 +00:00
a36dbd9c2f renamed enumerators of hawk_opt_t 2020-04-15 08:38:41 +00:00
fd94b20974 adding HAWK_MODLIBDIR 2020-04-15 08:35:07 +00:00
b72110af74 integrated some test files to automake 2020-04-14 14:02:04 +00:00
ef9db73f19 fixed a bug in handling a reference value in hawk::call() 2020-04-14 11:45:52 +00:00
c7961f84d2 some sample code to mod-mysql.c
added a test script file t/h-001.hawk. there is still a reference handling bug regarding hawk::call()
2020-04-14 07:40:30 +00:00
11fe4e17ad fixed a bug where a reference value was passed to a user-defined function. a reference value should have been evaluated to a non-reference value before given to a user-defined function. it's a new bug introduced over a few previous commits done to support hawk::call() 2020-04-14 06:47:46 +00:00
f827a94d64 work in progress - debugging reference evaluation issues 2020-04-14 06:02:55 +00:00
178c83724b added hawk::function_exists() 2020-04-13 13:56:09 +00:00
a8afcca04e simplified hawk::call().
fixed a bug in copying a value for a reference upon returning from a function in hawk_rtx_evalcall(). it was unable to handle the case where a reference variable is not updated in the called function
2020-04-13 08:41:16 +00:00
f5da432bb4 fixed wrong macros - hawk_tio_getxtn(), hawk_pio_getxtn(), hawk_sio_getxtn(), etc 2020-04-13 06:15:03 +00:00
6664621a45 fixed an initialization bug in mod-math.c 2020-04-12 19:05:15 +00:00
e4de922f7d touched up stack management code
added hawk::call()
2020-04-12 18:23:44 +00:00
9eb3c4fc42 enhanced a function caller to take a string and find a function to execute it 2020-04-09 12:56:47 +00:00
9328a49cb1 added hawk_rtx_valtofun() and changed the asort implementation to use it 2020-04-08 17:07:19 +00:00
d9ffad1227 renamed hawk_rtx_cleario() to hawk_rtx_clearallios().
added hawk_rtx_flushallios().
revised hawk_rtx_loop() and hawk_rtx_callfun() to call hawk_rtx_flushallios() instead of hawk_rtx_clearallios().
changed the io handler to discard unflushed data if flushing fails in std.c
2020-04-08 10:23:31 +00:00
a23eeee168 added true multidimensional map support for the for-in statement and the binary in operator 2020-04-07 16:16:48 +00:00
ca1877d412 call-by-reference handling with a true multidimensional map 2020-04-04 17:40:56 +00:00
82eac76de4 more true multidimensional map work 2020-04-03 17:56:04 +00:00
9d40f45092 implementing deletion on true multi-dimensional map 2020-04-03 09:29:37 +00:00
164d91661b implementing assignment with true multi-dimensional map 2020-04-03 02:05:12 +00:00
76d295365a writing code for supporting true multi-dimensional indices in map 2020-03-30 08:54:37 +00:00
abcc217dd0 changed the point where hawk_rtx_cleario() is called for cleanup 2020-03-29 08:05:36 +00:00
cd7873e19a changed code to prevent buffered output from span across the end of hawk_rtx_execXXX() 2020-03-29 06:29:05 +00:00
e54537886c changed to call hawk_rtx_cleario() before restoring SIGPIPE handler in bin/main.c 2020-03-28 08:28:09 +00:00
a93beaaf55 added hawk::gc(), hawk::gc_set_threshold(), hawk::gc_get_threshold() 2020-03-28 08:04:37 +00:00
7d70005984 implemented automatic generational processing based on threshold in garbage collection 2020-03-28 06:45:36 +00:00
752b1332c9 touched up gc code 2020-03-25 17:05:48 +00:00
d448f8d8bc gc enhancement for supporting generational processing 2020-03-25 08:40:41 +00:00
c1ffc899fe some more code cleanup 2020-03-25 06:22:25 +00:00
74180e1d8a some cosmetic source code changes 2020-03-25 05:56:11 +00:00
404c382e33 fixed a gc flaw upon rtx disposal 2020-03-24 15:26:00 +00:00
962b1d47dd fixed a bug in run_forin() in run.c 2020-03-24 07:14:12 +00:00
77640ef73c renamed the suffix of some scripts to .hawk
fixed mod-sys.c a bit
2020-03-24 07:08:21 +00:00
565e51091b fixed outstanding bugs in gc implementation. pending more improvements 2020-03-24 06:49:25 +00:00
9dc3d5418a made some conditional changes to mod-sys.c 2020-03-23 16:33:32 +00:00
8f6176f451 trying to fix bugs in gc implementation 2020-03-23 16:14:38 +00:00
8c01bef2fb some interim code for gc implementation 2020-03-23 09:24:22 +00:00
53a3cdfd23 removed a redundant semicolon after #endif in mod-sys.c 2020-03-22 18:04:38 +00:00
6502a2e388 changed the behavior of for(x in y) loop - it now takes a snapshot of keys before running body 2020-03-22 18:01:05 +00:00
66d461e664 fixed a fault in hawk-rbt.h 2020-03-21 11:38:27 +00:00
f0c1a26ccc some gc works 2020-03-20 09:50:32 +00:00
adcbf748a2 fixed a bug in string cache managment.
added mbs cache management
2020-03-20 06:05:28 +00:00
7fe9ea0936 added some code to implement gc 2020-03-19 17:42:01 +00:00
1285d77c1e changed the doubly linked list to circular in idmap-imp.h
started writing some code to implement gc
2020-03-18 08:30:40 +00:00
bc87c486da optimized rbt.c and htb.c a bit 2020-03-17 15:44:00 +00:00
cd4298499f optimized lib/run.c a bit 2020-03-17 15:30:56 +00:00