0dc6c0863e
deleted the isnil operator and added the backquote operator to mean notnil
2012-12-19 14:11:07 +00:00
14648534b3
changed a single-quoted string to support no escaping.
...
added a not-defined/is-nil operator
2012-12-15 15:30:13 +00:00
c2668bbe26
changed the way to handle @words.
...
switched global, local, reset, abort to @global, @local, @reset, @abort to avoid collision with existing awk programs
2012-11-20 14:44:43 +00:00
acdd3a7a1c
prefixed many functions and classes with QSE_EXPORT
2012-11-01 15:03:02 +00:00
4e92c0ef1c
Added QSE_AWK_BLANKCONCAT
...
fixed getline parsing to accept $XXX
2012-10-27 16:28:12 +00:00
8ac0963885
combined some awk options into QSE_AWK_EXTRAKWS.
...
deleted QSE_AWK_EXTRAOPS and enabled all new operators by default
added === and !==.
fixed a bug in printing the explicit concatenation operator(%%, %%=)
improved @include handling
2012-10-25 14:38:27 +00:00
31edff2391
enhanced function call code to support module calls.
...
added libltdl into configure.ac, thus to the project
2012-10-23 17:08:56 +00:00
ff13bf4668
added qse_awk_setopt()/qse_awk_getopt().
...
deleted qse_awk_getoption()/qse_awk_setoption()/qse_awk_setmaxdepth()/qse_awk_getmaxdepth().
redefined enumeration types related to the functions added or deleted above.
moved fnc_sleep from cmd/awk/awk.c to mod/awk/sys.c
managed to get external module call working in the primitive level
2012-10-21 16:19:03 +00:00
006dd8975f
added 'abort' & QSE_AWK_ABORT to awk.
...
added a new sed command 'C' that resembles the cut utility
dropped the cut utility.
added qse_str_nrcat()/qse_mbs_nrcat()/qse_wcs_nrcat()
2012-08-19 14:20:05 +00:00
8f1e15366d
Added QSE_AWK_TOLERANT
2012-08-17 06:53:17 +00:00
ec5537a35f
cleaned up $
2012-08-16 03:47:55 +00:00
3c326c599f
added qse_pma_clear() and updated the copyright notice
2012-07-20 04:13:39 +00:00
d7c5e50364
added cp949 and cp950.
...
deleted win32 target files for watcom. too difficult to maintain.
added cmgr for cp949 and cp950.
2012-02-24 09:09:45 +00:00
7f0ad74286
fixed a bug of not checking the return value of wcrtomb properly in qse_wcrtomb().
...
fixed a bug of passing a wrong buffer to qse_wcrtomb() in qse_wcsntombsn().
enhanced qse_tio_writembsn() and qse_tio_writewcsn()
2011-12-13 15:48:00 +00:00
350c75434c
fixed a minor build issue with mingw64.
...
renamed qse_real_t to qse_flt_t
2011-11-22 05:03:31 +00:00
df28fde9ef
added QSE_FIO_TEMPORARY.
...
added qse_rand31()
fixed a minor bug in handling QSE_FMTINTMAX_ZEROLEAD
2011-11-16 15:18:46 +00:00
759925d816
interim commit while dropping dependence on printf in awk
2011-11-14 15:15:44 +00:00
10b0469ee1
added prefix to qse_fmtintmax() and qse_fmtuintmax().
...
chnaged awk's printf to use qse_fmtintmax().
2011-11-07 00:01:19 +00:00
226795c03e
added qse_fmtintmaxtombs()/qse_fmtintmaxtowcs() and related functions.
...
changed qse_awk_t to use these new formatting functions.
redefined some primitive types
2011-11-05 00:50:55 +00:00
b2e7566e6b
added a few lines of constant folding code for awk. still incomplete
2011-07-23 09:37:46 +00:00
ed207769ff
enhanced parse_primary_ident() in lib/awk/parse.c
...
also fixed a memory leak in the function
changed name of some data types
2011-05-30 09:15:52 +00:00
7e6a4dc0d5
* added qse_cptl_t/qse_xptl_t
...
* deleted word substitution functions from awk
2011-05-24 10:52:37 +00:00
42327ce6d1
enhanced record reading further
2011-05-02 07:28:51 +00:00
65588fad45
updated copyright notice
2011-04-23 08:28:43 +00:00
faea2475ac
fixed a parser bug in awk.
...
- handling of idiv operators
- tokenization of /=/ as a regular expression
- calling QSE_AWK_FREEREX to free compiled regular expressions.
switched to a new regular expression handler.
2009-12-11 07:03:54 +00:00
e384e1d044
- enhanced how to determine between a function call and a variable concatenated with an parenthsized expression.
...
- fixed a bug in split.
2009-10-20 07:33:40 +00:00
773f5cec57
touched up code a bit
2009-09-16 04:01:02 +00:00
10c75d357d
fixed a bug in emitting a string
2009-09-03 06:55:55 +00:00
88d0fd919b
touched up code a bit more
2009-08-24 19:50:38 +00:00
f5e3e53290
- added Awk::setGlobal & Awk::getGlobal
...
- fixed a bug in parsing getline
2009-07-15 02:06:14 +00:00
393dd9be8d
improved the standard console handler to handle when ARGV has been overridden in a script
2009-06-25 02:29:33 +00:00
d0ce35eacf
enhanced and fixed a few functions.
...
- qse_awk_rtx_call()
- qse_awk_parsesimple()
- qse_awk_parsesimple_in_t
- qse_awk_parsesimple_out_t
2009-02-23 08:10:34 +00:00
10adba9ed0
added new functions
...
- qse_strxfcpy(), qse_strfcpy()
cleaned up code a little
- renamed a few functions. qse_awk_strtok() to qse_awk_rtx_strtok(), etc
2009-02-15 00:21:19 +00:00
44d4f890f4
restructured runtime context functions to support more flexibility
...
- New functions include:
qse_awk_rtx_open ()
qse_awk_rtx_close ()
qse_awk_rtx_loop ()
qse_awk_rtx_call ()
- deprecated qse_awk_run ()
2009-02-12 04:46:24 +00:00
a76f07bc88
corrected license information
2009-02-04 08:39:21 +00:00
14bc247637
cleaned up code a little
2009-02-03 03:54:32 +00:00
1201d2890b
renamed some functions, variables, definitions, etc to shorten names.
...
- renamed global to gbl
- renamed local to lcl
2009-02-02 08:28:04 +00:00
6affaf4d37
renamed a few macro names that were left out previously
...
- renamed AFN to FUN and BFN to FNC
2009-02-01 04:06:30 +00:00
4f968e7f11
renamed many functions, typedefs, and variables.
2009-02-01 03:59:46 +00:00
07d8efa7c2
added a dual direction pipe (rwpipe) to awk.
...
- will not work on WIN32 until qse_pcp_t is completed on the platform.
2009-01-17 04:20:22 +00:00
da61cde8fd
finished interim implementation of qse_timegm() and qse_timelocal().
...
- currently, they use timegm() and timelocal() provided by libc.
added test programs.
2008-12-30 04:49:25 +00:00
4592f9725a
added the LICENSE file
2008-12-27 04:35:14 +00:00
4803bd861a
initial import
2008-12-21 21:35:07 +00:00
4c01ea1604
renamed ase to qse
2008-12-21 20:30:00 +00:00