Commit Graph

  • ac5c9fecea minor naming update in pkgs/hawk.spec.in main hyung-hwan 2026-08-26 10:24:05 +09:00
  • ae34dfdb71 fixed a inverted condition check bug in lib/idmap-imp.h hyung-hwan 2026-08-25 23:46:46 +09:00
  • 9e5afd66a1 updated the build files to cater for go files hyung-hwan 2026-08-25 20:08:33 +09:00
  • 0834275306 updated hawk.go with wrapper in dealing with hawk_val_t* since type casting using unsafe.Pointer didn't resolve the problem in full hyung-hwan 2026-08-23 00:56:51 +09:00
  • dce517bb2f enforcing runtime expression evaluation depth hyung-hwan 2026-08-21 18:36:50 +09:00
  • e2d648fbba updated further to exclude tagged pointers from the go memory hyung-hwan 2026-08-20 16:08:19 +09:00
  • ef1c667ec9 converted the raw c pointer of hawk_val_t* to uintptr(as CPtrVal) since hawk_val_t* contains a tagged pointer for immediate values. go runtime fails the pointer check during GC hyung-hwan 2026-08-20 14:09:15 +09:00
  • 6844dde1b6 nonblock call polishing in pio hyung-hwan 2026-08-17 22:48:30 +09:00
  • 260318b24c fixed pio flaws hyung-hwan 2026-08-17 22:21:41 +09:00
  • 6b7873b230 fixed a wrong condition in fix_val_with_raw() in hawk.go hyung-hwan 2026-08-05 14:47:30 +09:00
  • 5a563d7c15 added hawk_rtx_isimmorstaticval() and fixed the go wrapper to call it to fix a bug of invalid memory reference hyung-hwan 2026-08-05 14:36:38 +09:00
  • 6dc0dec3e8 added more test cases. touched up code for stack-based statement execution hyung-hwan 2026-08-03 00:54:53 +09:00
  • 158865a866 fixed a wrong assertion xstack hyung-hwan 2026-08-02 17:22:17 +09:00
  • d516cd2e4b added some error handling code for completeness hyung-hwan 2026-08-02 12:42:04 +09:00
  • 79296debb1 removed some depth check hyung-hwan 2026-08-01 18:41:43 +09:00
  • 6999c3ac37 implementing converged runtime evaluation stack covering both statements and expressions hyung-hwan 2026-07-30 12:16:33 +09:00
  • c3e4fd8457 switch based binop handler calls from table based calls hyung-hwan 2026-07-26 02:19:46 +09:00
  • 7f7893d4d1 implemented expression evaluator using explcitly managed evaluation stack hyung-hwan 2026-07-25 23:18:59 +09:00
  • e9f55d259f stack-based alternative expression evaluator hyung-hwan 2026-05-29 01:34:14 +09:00
  • 55f8b4f611 experimental application of makecontext/swapcontext/getcontext to hawk_rtx_evalcall() - only when depth is beyond threshold hyung-hwan 2026-05-27 12:46:18 +09:00
  • c5f35799a5 experimental application of makecontext/swapcontext/getcontext to hawk_rtx_evalcall() - very slow hyung-hwan 2026-05-27 11:34:52 +09:00
  • 26bc3fd397 less recursion in statement evaluation hyung-hwan 2026-05-27 08:37:47 +09:00
  • 3d8ce4dbcd removed redundant return in a void function hyung-hwan 2026-05-26 12:25:49 +09:00
  • 0d313cf474 added some test cases to cover unary with relational ops refactored htb and rbt a bit hyung-hwan 2026-05-25 11:56:22 +09:00
  • 1ca8160e07 removed HAWK_FNMAT_IS_SEP() hyung-hwan 2026-05-24 19:47:39 +09:00
  • 6e05998bc9 added sys::uname() hyung-hwan 2026-05-24 14:57:16 +09:00
  • 0b900e7d0d minor fix for a picky compiler hyung-hwan 2026-05-24 14:55:59 +09:00
  • fe643c1c48 added some text for ENVIRON, PIPECLOEXEC, etc hyung-hwan 2026-05-23 14:32:19 +09:00
  • d36d1a8675 tweaked code for win32 hyung-hwan 2026-05-23 13:11:26 +09:00
  • edea38a631 refactoring code to support non-unix oses hyung-hwan 2026-05-22 20:05:09 +09:00
  • c15ba6aa15 updated c++ classes for thread-safe ENVIRON handling hyung-hwan 2026-05-20 19:02:57 +09:00
  • 178cb49e5b added a new callback env_mk to hawk_rio_cbs_t to improve environment variable handling hyung-hwan 2026-05-20 17:58:00 +09:00
  • 5b47ec6b07 updated ENVIRON handling code by introducing a revision number to a map hyung-hwan 2026-05-19 15:51:55 +09:00
  • b8538fbc4d enhancing ENVIRON handling when interacting with external programs hyung-hwan 2026-05-18 17:36:31 +09:00
  • 06c5dc7fef simple code reformatting with a test script for ENVIRON hyung-hwan 2026-05-17 11:02:26 +09:00
  • e0fc631761 minor code refactoring. updated pio to accept an explicit envp pointer hyung-hwan 2026-05-16 19:33:58 +09:00
  • afc195f34e some code touch up for sco hyung-hwan 2026-05-14 22:54:27 +09:00
  • 6ddba562d6 optimization in handling reference arguments hyung-hwan 2026-04-25 17:36:33 +09:00
  • 7888255a3a fixed the wrong asserting while refdowning named variable slots hyung-hwan 2026-04-25 16:46:24 +09:00
  • 8ad6477b7c added more test cases hyung-hwan 2026-04-25 15:17:54 +09:00
  • 5dd6934191 patches run_reset to reflect the change in named variable access implementation hyung-hwan 2026-04-25 15:07:08 +09:00
  • 59bd31dd56 fixed the skipped error assignment in hawkgo.go. fixed the error output to use a single output function call hyung-hwan 2026-04-25 14:52:45 +09:00
  • fd0da9b046 updated the test harness to support VALGRIND=1 updated hawkgo to print the error info in the same format at hawk hyung-hwan 2026-04-25 14:12:25 +09:00
  • 3232992bbe optimized accesses and manipulation of named variables hyung-hwan 2026-04-25 13:20:15 +09:00
  • 06c62443bf removed the disabled code under HAWK_ENABLE_NAMED_LOOKUP_CACHE hyung-hwan 2026-04-23 20:47:39 +09:00
  • e5694bb330 swapped some condition orders in lib/run.c hyung-hwan 2026-04-23 02:27:39 +09:00
  • 1780afec23 typo fixes in rbt.c hyung-hwan 2026-04-23 01:25:13 +09:00
  • 1638426f9b using switch in eval_expression0 to perform actual routines for common cases. all others cases are handled using function pointer tables hyung-hwan 2026-04-23 00:26:41 +09:00
  • 057a0496d8 disabled the lookup cache for global named variables because it's not multi-thread safe hyung-hwan 2026-04-22 23:08:52 +09:00
  • 4c974da2a2 added the inline version of refup/refdown functions - hawk_rtx_refupval_inline(), hawk_rtx_refdownval_inline(), hawk_rtx_refdownval_nofree_inline() hyung-hwan 2026-04-22 20:49:46 +09:00
  • 93c2fd5f7f updated the runtime code to allocate fltfmt and fltout buffers at the rtx level and let val_flt_to_str() use them hyung-hwan 2026-04-21 22:06:04 +09:00
  • 9bf9563edf added the ecb_stmt_count field to rtx to skip unnecessary ecb chain traversal for ecb->stmt invocation hyung-hwan 2026-04-20 04:09:01 +09:00
  • 33f6266876 folded concatenating string constants hyung-hwan 2026-04-20 03:26:30 +09:00
  • 48fe906a1a enhanced expression folding hyung-hwan 2026-04-16 16:24:56 +09:00
  • 5efe1d9b6f enhanced ternary expression folding hyung-hwan 2026-04-16 15:02:39 +09:00
  • 79fd236c94 changed the code folder less agressive hyung-hwan 2026-04-16 02:56:11 +09:00
  • 0a0db012a3 parser enhancement to get rid of unneeded statements hyung-hwan 2026-04-15 21:23:52 +09:00
  • 21b22e28c4 implemented primitive dead code eliminator hyung-hwan 2026-04-15 16:45:54 +09:00
  • e8b613576f removed all byte-code related code hyung-hwan 2026-04-15 01:58:44 +09:00
  • 62ff4ecabb attempt to lower function calls - call_fun & call_expr added. but stuck in handling argument reference hyung-hwan 2026-04-15 01:45:47 +09:00
  • a758747661 added the jis0208 cmgr hyung-hwan 2026-04-11 00:38:11 +09:00
  • d0a425cbd6 added big5 and gbk encoding hyung-hwan 2026-04-11 00:13:12 +09:00
  • 5324470e3f added ksc5601 cmgr added hawk_rtx_openstdwithbcstrandcmgrs() and hawk_rtx_openstdwithucstrandcmgrs() split --console-encoding to --conin-encoding and --conout-encoding hyung-hwan 2026-04-06 02:07:17 +09:00
  • 66f66c03e4 refactoring of po-cat.c hyung-hwan 2026-03-31 18:30:22 +08:00
  • 0a2b089351 refactored po-cat.c hyung-hwan 2026-03-30 22:35:49 +08:00
  • ed00280fd8 work in progress to support language files hyung-hwan 2026-03-29 21:49:02 +09:00
  • beb66238f1 minor code touch-up hyung-hwan 2026-03-26 22:49:13 +08:00
  • 479b74d1a3 updated parse_unary to fold more consistent constant folding hyung-hwan 2026-03-22 17:16:26 +09:00
  • f444cc92fe enhanced constant folding for binary operators in lib/parse.c hyung-hwan 2026-03-22 13:55:30 +09:00
  • b5464605d8 enhanced if(0), while(0) folding to support some subset of a groupd node hyung-hwan 2026-03-22 13:21:40 +09:00
  • 9e5804a15b handled folding of the else part for if(1) and its variant hyung-hwan 2026-03-22 12:16:37 +09:00
  • ecc1c4bfb3 implemented the folding of if/while if the condition is definitely false hyung-hwan 2026-03-21 19:11:57 +09:00
  • 1428e7dc2f implemented the CALL instruction partially hyung-hwan 2026-03-21 15:09:17 +09:00
  • b9dd73ee9f added some tests for unary operators hyung-hwan 2026-03-11 23:02:25 +08:00
  • bc9e8887aa lowered the unary plus operator hyung-hwan 2026-03-11 23:46:41 +09:00
  • c2c0146c24 fxied a concurrency issue in eval_fncall_fnc hyung-hwan 2026-03-11 13:30:48 +09:00
  • 4ce64a91b5 lowered print to byte code but not optmized hyung-hwan 2026-03-11 12:11:15 +08:00
  • 188cb2c514 packed the INIT_BLK instruction hyung-hwan 2026-03-11 00:34:21 +08:00
  • e15ca2db19 added HAWK_FBC_OP_INIT_BLK hyung-hwan 2026-03-09 22:49:27 +09:00
  • 8b51ef0f49 added HAWK_FBC_OP_BNOT hyung-hwan 2026-03-09 21:11:03 +09:00
  • e362e2616a added some more test cases for hawk::bool hyung-hwan 2026-03-09 10:48:00 +08:00
  • 9e9725dc8c added hawk::bool hyung-hwan 2026-03-09 11:27:06 +09:00
  • 21d63b6eb8 added HAWK_FBC_OP_LNOT hyung-hwan 2026-03-09 01:31:44 +09:00
  • bb712ef283 fxied wrong variables in unrolling runtime modules hyung-hwan 2026-03-08 15:08:47 +09:00
  • ddd043ea54 improved module unrolling after initialization failure hyung-hwan 2026-03-08 13:52:29 +09:00
  • 2389b00504 fixed a bug of skipping module init when a module is loaded at runtime for the first time hyung-hwan 2026-03-08 11:10:43 +09:00
  • cdc561545e trying to support runtime caching of deferred module function resolution hyung-hwan 2026-03-07 14:58:51 +09:00
  • 5c1bee2ea0 used CAS before setting cache_type... hyung-hwan 2026-03-06 19:05:04 +09:00
  • 8de26347b6 updated to use atomic_release and atomic_acquire when accessing cache_type field in a nodeysm node hyung-hwan 2026-03-06 18:48:15 +09:00
  • eee12e1216 fixed a wrong cache type store in the float path hyung-hwan 2026-03-06 13:48:20 +09:00
  • e6195eb6eb fixed flaws introduced in the previous commits hyung-hwan 2026-03-06 13:45:33 +09:00
  • 9500772364 implemented per-node modsym caching hyung-hwan 2026-03-06 13:37:03 +09:00
  • a351f7910f implemented deferred module constant symbols hyung-hwan 2026-03-04 22:16:02 +08:00
  • 2dd639a1f0 added @pragma defermodsym and implemented deferred module function resolving hyung-hwan 2026-03-04 15:21:04 +09:00
  • cfab90b656 addded t/h-020.hawk to test the sqlite module hyung-hwan 2026-03-03 13:54:20 +08:00
  • 65d3db5d28 added a literal pool per function updated LOAD_CONST_CHAR and LOAD_CONST_BCHR to inline the value in an instruction(hawk_fbc_ins_t) hyung-hwan 2026-03-03 02:40:42 +09:00
  • 4fcca9d26a added HAWK_RTX_QUERYMODULE_NOLOCK hyung-hwan 2026-03-02 13:23:51 +08:00
  • 5428a2dcd4 updated mtx on win32 and os2 hyung-hwan 2026-03-02 13:12:51 +08:00
  • b33e41f38f fixed missing semicolons hyung-hwan 2026-03-02 13:57:39 +09:00
  • 03282caef3 added HAWK_MTX_FLAG_RECURSIVE hyung-hwan 2026-03-02 13:49:37 +09:00