4a60654b49
added code to preapre byte string support in split(). still long way to go
hyung-hwan2020-11-13 02:50:20 +00:00
afe27f4eec
hawk 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
44bfa42a69
changed the literal notations of a raw string, a byte string, a raw byte string to have the @ sign before b, r, br, rb
hyung-hwan2020-11-08 17:23:25 +00:00
a532d65335
fixed a bug of not checking if the current script is null for @SCRIPTNAME in parse.c
hyung-hwan2020-11-07 01:51:52 +00:00
fe600c2ce4
added check for the first parameter to operator new in configure.ac
hyung-hwan2020-11-07 01:26:29 +00:00
2390a8c5cc
minor changes of some conditionals in hawk-cmn.h
hyung-hwan2020-11-06 14:04:59 +00:00
38c193cd31
made some defintions conditional
hyung-hwan2020-11-05 15:10:28 +00:00
7f479f156b
added special parser-level substitution word - @SCRIPTNAME, @SCRIPTLINE
hyung-hwan2020-05-04 07:14:32 +00:00
8ad37dabf0
removed hawk::array_size(), hawk::array_tally(). enhanced hawk::array() and hawk::map() to accept values
hyung-hwan2020-05-03 15:49:31 +00:00
84d869606f
simplified the way to get the first integer index in idxnde_to_str()
hyung-hwan2020-05-03 06:17:44 +00:00
6709839f96
fixed another bug in 'in' evaluation
hyung-hwan2020-05-03 06:05:06 +00:00
210aa19820
enhanced the 'in' operator evaluation to support an array
hyung-hwan2020-05-03 05:45:31 +00:00
11b6e0ce97
trivial change for code consistency
hyung-hwan2020-05-02 18:34:18 +00:00
29bc731ccb
enhanced 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
5326953e9b
made a minor change in tools/uni-case.c
hyung-hwan2020-05-01 08:10:51 +00:00
56a5bf592f
defined hawk_ooecs_amend to hawk_becs_amend in the bch mode
hyung-hwan2020-04-30 15:56:15 +00:00
0c184b6817
changed 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
1b7ef41ee4
fixed an array access problem by an out-of-range index in eval_indexed()
hyung-hwan2020-04-24 16:01:23 +00:00
f860798821
Added partial code for array support
hyung-hwan2020-04-24 15:52:08 +00:00
6e857ff4f2
updated 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
75dc7d8fbc
Added sys::tcflush() and defined sys::TC_CFLAG_XXX items
hyung-hwan2020-04-23 08:07:46 +00:00
11371cc073
dropping the idea of hawk::reset() and changing it to hawk::array() and hawk::map()
hyung-hwan2020-04-23 07:25:33 +00:00
260ab078f8
made IUTF8 conditional depending on its availability
hyung-hwan2020-04-22 11:41:37 +00:00
22342148f5
changed 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" slot
hyung-hwan2020-04-22 06:48:01 +00:00
8b597b7acf
did some preparatory work to support an array that uses an integer as the index
hyung-hwan2020-04-20 15:34:59 +00:00
3a717bb768
made OXTABS and ONOEOT compilable when not available
hyung-hwan2020-04-20 04:39:21 +00:00
b72110af74
integrated some test files to automake
hyung-hwan2020-04-14 14:02:04 +00:00
ef9db73f19
fixed a bug in handling a reference value in hawk::call()
hyung-hwan2020-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()
hyung-hwan2020-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()
hyung-hwan2020-04-14 06:47:46 +00:00
f827a94d64
work in progress - debugging reference evaluation issues
hyung-hwan2020-04-14 06:02:55 +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
hyung-hwan2020-04-13 08:41:16 +00:00