Commit Graph

  • 3d8ce4dbcd removed redundant return in a void function main 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
  • 6af7dbbd60 fixed some m4 files hyung-hwan 2026-03-02 01:17:39 +09:00
  • 8b90839e86 protected modtab access with modmtx where applicable hyung-hwan 2026-03-02 00:49:32 +09:00
  • c1e9d141e7 compiler to emit code to load flt/str/mbs/char/bchr added hawk_rtx_querymodulewithoocs() and hawk_rtx_querymodulewithname() for thread-safe runtime access hyung-hwan 2026-03-02 00:32:58 +09:00
  • b885108407 fixed wrong variable names in the no-snprintf path hyung-hwan 2026-03-01 23:54:02 +09:00
  • f63a55e432 fixed wrong variables in oops path in gem-glob.c hyung-hwan 2026-03-01 17:34:58 +09:00
  • a929056995 fixed cleanup in mod-uci.c fixed a type-casting issue in gem-glob.m4 hyung-hwan 2026-03-01 17:17:25 +09:00
  • a6eb90c0ee added sig range check in bin/main.c hyung-hwan 2026-03-01 16:43:10 +09:00
  • 7de49991a1 fixed a result count check bug in mod-mysql.c hyung-hwan 2026-03-01 16:36:13 +09:00
  • 7b8f8a3afc fixed a indexing bug in mod-mysql.c hyung-hwan 2026-03-01 16:26:59 +09:00
  • 995aa13f4c defined some more atomic macros hyung-hwan 2026-03-01 15:25:01 +09:00
  • b0a0746f02 added some missing atomic macro checks hyung-hwan 2026-03-01 15:10:24 +09:00
  • eab345b1e2 fixed some go code issues hyung-hwan 2026-02-26 00:33:43 +09:00
  • b79c24dd17 implemented bc for && and || hyung-hwan 2026-02-24 19:17:29 +09:00
  • 0d312f57bf implemented bc for some simple flow control statements hyung-hwan 2026-02-24 18:52:34 +09:00
  • 36bf278632 added STORE_POP hyung-hwan 2026-02-23 23:23:02 +09:00
  • 06655bccde some simple handling for inc/dec op hyung-hwan 2026-02-23 22:58:05 +09:00
  • 830945ab51 added more instructions and a bytecode dumper hyung-hwan 2026-02-23 22:31:23 +09:00
  • 407713e7a3 initial code to implement bytecode vm hyung-hwan 2026-02-23 00:40:24 +09:00
  • d2eff711ac fixed wrong free list management in mod-uci hyung-hwan 2026-02-26 00:07:37 +08:00
  • 303fc19003 enhanced hawkgo and hawk51 with --modlibdirs hyung-hwan 2026-02-14 15:52:26 +09:00
  • 53c9b7f77f fixed the console handler to deal with the end of file more gracefully hyung-hwan 2026-02-14 15:02:11 +09:00
  • 05df410d4e updated README.md hyung-hwan 2026-02-13 19:29:38 +09:00