Commit Graph

  • 479b74d1a3 updated parse_unary to fold more consistent constant folding main 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
  • 405510d33a implemented the function literal syntax hyung-hwan 2026-02-13 19:24:13 +09:00
  • 6520b42935 implemented an extended function call named xcall internally (e.g. a.b.c(20)) hyung-hwan 2026-02-03 18:07:05 +09:00
  • 7b9cab4b47 added the octal number notation with the prefix 0o did some code refactor hyung-hwan 2026-02-03 12:47:09 +09:00
  • 62f1c3695f fixed the keyword check data and function hyung-hwan 2026-01-27 15:24:34 +09:00
  • d82d51a0ee added @true and @false hyung-hwan 2026-01-26 22:12:35 +09:00
  • 87d5fe427d added the global variable PIPECLOEXEC and @pragma pipecloexec to control CLOEXEC in piping hyung-hwan 2026-01-25 14:59:20 +09:00
  • ecf11171b1 fixed a wrong return code check in mod/mod-json.c enhanced the parser to support the dot-notation for map element access changed the pipe handler to not close file descriptors upon exec in the standard implementation code hyung-hwan 2026-01-25 04:11:01 +09:00
  • af69d59cab added the mode paramenter to hawk_rtx_makenumorstrvalwithuchars() and its relatives hyung-hwan 2026-01-23 12:09:36 +09:00
  • d8ef908e1d added the json module hyung-hwan 2026-01-22 21:51:16 +09:00
  • 4883104ae8 implemented @const as well as optional initializer expression to @global/@local hyung-hwan 2026-01-22 00:26:03 +09:00
  • 72493d6939 fixed the backslash handling issue in sub/gsub/gensub hyung-hwan 2026-01-18 01:37:47 +09:00
  • f7f4ead790 updated README.md and the rpm spec file hyung-hwan 2026-01-14 14:06:40 +09:00
  • 0c5cf2edc1 more documetnation on singal handling hyung-hwan 2026-01-13 18:24:13 +09:00
  • e8d1a179d6 updated the Hawk class and the Hawk::Run class to integrate the signal handling code hyung-hwan 2026-01-13 15:14:24 +09:00
  • a83e85cc09 renamed SetSigsetHandler to OnSigset hyung-hwan 2026-01-12 23:58:19 +09:00
  • 5ec23566db implemented the sigset handler in go files hyung-hwan 2026-01-12 22:08:59 +09:00
  • 40b81f4887 corrected issues with has_builtin hyung-hwan 2026-01-12 17:36:46 +09:00
  • ac38da4384 fixed source code flaws and static build flaws with sqlite hyung-hwan 2026-01-12 14:31:32 +09:00
  • 9e2248266c touched up signal handling code hyung-hwan 2026-01-12 14:19:52 +09:00
  • 4f2c148b3b touched up the signal handling code a bit hyung-hwan 2026-01-12 02:50:28 +09:00
  • 957bcf2b4e fixed a bug in hawk_rtx_killecb()/hawk_killecb()/hawk_sed_killecb() initial support for signal handling. some race condition issues yet to be resolved hyung-hwan 2026-01-12 00:27:27 +09:00
  • b1179aca17 added %v to printf/sprintf hyung-hwan 2026-01-06 16:38:24 +09:00
  • a8cd66fbd8 partial implementation of %v for printf. enhanced parsing of character literals using @c or @C and the variants for raw/byte character literals version pushed up to 1.0.0 hyung-hwan 2026-01-01 14:41:58 +09:00
  • f712a49a8c added a test case for getline and getbline hyung-hwan 2025-12-30 01:02:20 +09:00
  • c76f12f6f6 updated README.md hyung-hwan 2025-12-26 20:11:05 +09:00
  • 46f01ff267 fixed a double-free issue in eval_getbline() hyung-hwan 2025-12-26 19:54:13 +09:00
  • f9e5fe0027 added mysql::column_count() and mysql::column_name() hyung-hwan 2025-12-25 13:18:16 +09:00
  • 262ec3421f added sqlite::column_name() and enhanced sqlite::escape_string() to differentiate mbs and str hyung-hwan 2025-12-25 11:42:36 +09:00
  • 64250aa80c added the sqlite module hyung-hwan 2025-12-25 04:13:48 +09:00
  • 5043c16532 added str::frombase64() and str::tobase64() hyung-hwan 2025-12-24 15:06:52 +09:00
  • 1475451523 added str::tohex() and str::fromhex() hyung-hwan 2025-12-24 02:45:14 +09:00
  • 33ba979512 added sys::dirname() and sys::basename() hyung-hwan 2025-12-22 02:05:09 +09:00
  • 488839f761 added SetFuncRetWithInt/Flt/Str(), SetMapFieldWithInt/Flt/Str(), SetArrFieldWithInt/Flt/Str() hyung-hwan 2025-12-16 23:45:24 +09:00
  • ca1cf488e4 added the static_mods table for adding externally added static modules hyung-hwan 2025-12-16 17:58:01 +09:00
  • d3b90da1e7 added a new pragma pedantic to make syntax check stricter - for now. it flags about unused local and global variables hyung-hwan 2025-12-13 22:09:05 +09:00
  • 3d64e38f5a added --concurrent to hawkgo hyung-hwan 2025-12-11 21:08:47 +09:00
  • 0bb30e716c enhanced hawkgo to print named variables if -D is given hyung-hwan 2025-12-10 20:50:20 +09:00
  • 547846a055 renamed value creation functions. added finding and value-setting functions of global variables hyung-hwan 2025-12-10 14:10:47 +09:00
  • ddf9e688d7 adding code to handle various cli arguments for hawkgo.go added hawk.Exec() for *Rtx hyung-hwan 2025-12-09 23:42:19 +09:00
  • a1b4232bd7 some hawkgo stuffs hyung-hwan 2025-12-07 10:11:23 +09:00
  • 1a5e76390a removed unneeded recipes from Makefile.am hyung-hwan 2025-11-24 23:36:39 +09:00
  • c6ba6ff4ac added hawkgo.go hyung-hwan 2025-11-24 16:31:02 +09:00
  • a5bcb8ea6c changed the free list implementation in hawk-inst.go added go wrapper functions to manipulate return value and arguments hyung-hwan 2025-11-24 00:17:46 +09:00
  • 24c91d3376 updated the parser to require a colone after a key for @{} hyung-hwan 2025-11-18 18:49:38 +09:00
  • 249a78bb87 added syntatic sugar @[ and @{ for hawk::array and hawk::map hyung-hwan 2025-11-17 00:07:16 +09:00