166c18c7d0enhanced str::split() to handle byte strings betterhyung-hwan2020-11-13 14:56:15 +00:00
4a60654b49added code to preapre byte string support in split(). still long way to gohyung-hwan2020-11-13 02:50:20 +00:00
afe27f4eechawk initializes block-local variables upon block entry regardless of migration to the outermost block by the parser. it emits the local variable declaration in the original nested block regardless of migration by the parser.hyung-hwan2020-11-12 08:02:36 +00:00
44bfa42a69changed the literal notations of a raw string, a byte string, a raw byte string to have the @ sign before b, r, br, rbhyung-hwan2020-11-08 17:23:25 +00:00
a532d65335fixed a bug of not checking if the current script is null for @SCRIPTNAME in parse.chyung-hwan2020-11-07 01:51:52 +00:00
fe600c2ce4added check for the first parameter to operator new in configure.achyung-hwan2020-11-07 01:26:29 +00:00
2390a8c5ccminor changes of some conditionals in hawk-cmn.hhyung-hwan2020-11-06 14:04:59 +00:00
7f479f156badded special parser-level substitution word - @SCRIPTNAME, @SCRIPTLINEhyung-hwan2020-05-04 07:14:32 +00:00
8ad37dabf0removed hawk::array_size(), hawk::array_tally(). enhanced hawk::array() and hawk::map() to accept valueshyung-hwan2020-05-03 15:49:31 +00:00
84d869606fsimplified the way to get the first integer index in idxnde_to_str()hyung-hwan2020-05-03 06:17:44 +00:00
6709839f96fixed another bug in 'in' evaluationhyung-hwan2020-05-03 06:05:06 +00:00
210aa19820enhanced the 'in' operator evaluation to support an arrayhyung-hwan2020-05-03 05:45:31 +00:00
11b6e0ce97trivial change for code consistencyhyung-hwan2020-05-02 18:34:18 +00:00
29bc731ccbenhanced asort() and asorti() to handle an array value. added hawk_rtx_getarrvalfld() and hawk_rtx_setarrvalfld()hyung-hwan2020-05-02 18:18:26 +00:00
5326953e9bmade a minor change in tools/uni-case.chyung-hwan2020-05-01 08:10:51 +00:00
56a5bf592fdefined hawk_ooecs_amend to hawk_becs_amend in the bch modehyung-hwan2020-04-30 15:56:15 +00:00
0c184b6817changed length() over an array to return the number of items set. added hawk::array_size() to return the last index + 1. added hawk::array_tally() which works for an array only and acts like length()hyung-hwan2020-04-29 13:03:02 +00:00
1b7ef41ee4fixed an array access problem by an out-of-range index in eval_indexed()hyung-hwan2020-04-24 16:01:23 +00:00
f860798821Added partial code for array supporthyung-hwan2020-04-24 15:52:08 +00:00
6e857ff4f2updated hawk_arr_t callback functions to be more consistent with hawk_rbt_t/hawk_htb_t by creating hawk_arr_style_t and adding hawk_arr_setstyle()/hawk_arr_getstyle(). remove hawk_arr_getcopier()/hawk_arr_setcopier()/hawk_arr_getcomper()/hawk_arr_setcomper()hyung-hwan2020-04-24 06:49:19 +00:00
75dc7d8fbcAdded sys::tcflush() and defined sys::TC_CFLAG_XXX itemshyung-hwan2020-04-23 08:07:46 +00:00
11371cc073dropping the idea of hawk::reset() and changing it to hawk::array() and hawk::map()hyung-hwan2020-04-23 07:25:33 +00:00
260ab078f8made IUTF8 conditional depending on its availabilityhyung-hwan2020-04-22 11:41:37 +00:00
22342148f5changed hawk_rtx_makemapvalwithdata() to accept data count. enhanced sys::tcgetattr() and sys::tcsetattr() to store and fetch the value for c_cc field to and from the "cc" slothyung-hwan2020-04-22 06:48:01 +00:00
8b597b7acfdid some preparatory work to support an array that uses an integer as the indexhyung-hwan2020-04-20 15:34:59 +00:00
3a717bb768made OXTABS and ONOEOT compilable when not availablehyung-hwan2020-04-20 04:39:21 +00:00
b72110af74integrated some test files to automakehyung-hwan2020-04-14 14:02:04 +00:00
ef9db73f19fixed a bug in handling a reference value in hawk::call()hyung-hwan2020-04-14 11:45:52 +00:00
c7961f84d2some 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()hyung-hwan2020-04-14 07:40:30 +00:00
11fe4e17adfixed 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()hyung-hwan2020-04-14 06:47:46 +00:00
f827a94d64work in progress - debugging reference evaluation issueshyung-hwan2020-04-14 06:02:55 +00:00
a8afcca04esimplified 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 functionhyung-hwan2020-04-13 08:41:16 +00:00
6664621a45fixed an initialization bug in mod-math.chyung-hwan2020-04-12 19:05:15 +00:00
e4de922f7dtouched up stack management code added hawk::call()hyung-hwan2020-04-12 18:23:44 +00:00
9eb3c4fc42enhanced a function caller to take a string and find a function to execute ithyung-hwan2020-04-09 12:56:47 +00:00
9328a49cb1added hawk_rtx_valtofun() and changed the asort implementation to use ithyung-hwan2020-04-08 17:07:19 +00:00
d9ffad1227renamed 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.chyung-hwan2020-04-08 10:23:31 +00:00
a23eeee168added true multidimensional map support for the for-in statement and the binary in operatorhyung-hwan2020-04-07 16:16:48 +00:00
ca1877d412call-by-reference handling with a true multidimensional maphyung-hwan2020-04-04 17:40:56 +00:00