d671443442
experimented a bit for building on classic mac os
2013-01-20 14:03:36 +00:00
164b85a6f9
changed the number of maximum digits after \x in an awk string
2013-01-19 16:21:32 +00:00
b8c66b5b8d
added qse_dir_geterrnum()
2012-12-25 14:10:02 +00:00
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
eb944bbf95
touched up some source files for borland and msvc.
...
added more options to bakefile description
2012-12-13 13:07:16 +00:00
7dd9e67cd8
added qse_awk_rtx_isnilval().
...
enhanced the qse_awk_sio_t core functions so that the implementaion can set the stream name
added export specifiers to some functions
2012-11-29 14:03:59 +00:00
f1f3080ab3
make @word to be always on
...
simplified the return value of I/O handler's open function by eliminating the concept of EOF on opening.
enhanced qse_awk_parsestd() to accept an array of qse_awk_parsestd_t for input streams.
enhanced cmd/awk/awk.c to handle multiple -f's properly
2012-11-25 16:16:44 +00:00
1ad89afa99
added qse_strxtrmx()
...
added sys::trim().
allowed a singled quoted string in awk
2012-11-23 17:11:06 +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
a3ee069804
simplified some functions
2012-11-06 04:30:35 +00:00
2179278c41
changed the module loader to attempt to find '_load' and 'load_' as in addition to 'load'.
...
added the stat field to qse_awk_val_t.
added DLL loading for DOS32/CauseWay
deprecated PROCINFO. you can use various sys::xxxx() functions to get equivalent information.
migrated time() to sys::gettime() and added sys::settime().
2012-11-05 05:20:12 +00:00
3f99d7ac3d
added qse_awk_fnc_spec_t.
...
renamed qse_awk_mod_info_t to qse_awk_mod_spec_t
2012-11-03 17:44:23 +00:00
7557b22cb8
enhanced module handling
2012-11-02 14:08:46 +00:00
acdd3a7a1c
prefixed many functions and classes with QSE_EXPORT
2012-11-01 15:03:02 +00:00
65c324d373
added QSE_AWK_MODERN
2012-10-31 09:43:56 +00:00
a3af4c3eed
added qse_awk_rtx_valtombs()/qse_awk_rtx_valtostr()
...
added sys::kill() to awk
added sys::SIGXXXX to awk
added or enhanced uci::XXXX in awk
2012-10-31 08:31:58 +00:00
18ab6aaf8d
enhanced parsing getline
...
added qse_cstrdup()/qse_wcstrdup()/qse_mcstrdup()
2012-10-28 14:46:37 +00:00
4e92c0ef1c
Added QSE_AWK_BLANKCONCAT
...
fixed getline parsing to accept $XXX
2012-10-27 16:28:12 +00:00
c6a0a99e84
added QSE_AWK_MOD_INT and QSE_AWK_MOD_FLT
...
added qse_awk_mod_sym_int_t and qse_awk_mod_sym_flt_t
2012-10-26 15:44:23 +00:00
66da8f46c7
made slight enhancement in @include handling
2012-10-26 00:55:13 +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
d963a79bd2
touched up code for module call in awk
2012-10-22 09:36:15 +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
11b9829c9b
added some code to support module calls using module-name::function-name syntax to awk.
...
reorganized a few awk error code
2012-10-20 15:58:20 +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
4cac6034a8
enhanced the awk parser to allow a semicolon after a pattern-action block
2012-08-10 05:14:21 +00:00
785c95b1e6
moved ARGC and ARGV to base to std for simplication of the base implementation.
...
note C++ wrappers need the same changes
2012-08-05 08:56:42 +00:00
3c326c599f
added qse_pma_clear() and updated the copyright notice
2012-07-20 04:13:39 +00:00
b903f8ebb5
added qse_awk_rtx_pushrcb() and qse_awk_rtx_poprcb().
...
deleted qse_awk_rtx_setrcb() and qse_awk_rtx_getrcb().
added 'close' to qse_awk_rcb_t
added builtin functions 'setenc' and 'unsetenc' to awk/std.c
added qse_getcmgrbyname()
added builtin functions 'setenc' and 'unsetenc' to awk/StdAwk.cpp
2012-01-17 16:45:01 +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
2c4ed8caf9
* added QSE_MBLEN_MAX
...
* added qse_getcclsid() and related functions
* added qse_isblank() and realted code
2011-08-22 23:26:26 +00:00
4403c33aea
* changed the explicit concatenation operator from a period to %% for qse_awk_t
...
* added the concatenative assignment operator(%%=) for qse_awk_t
2011-08-16 07:52:48 +00:00
4527bf0a34
* fixed a bug of not setting an error code upon a few cases of QSE_AWK_STRXDUP failures
...
* added a new memory debugging facility to qseawk
2011-08-14 10:04:14 +00:00
55182c4232
fixed a bug in parsing an expression like "1++b" in awk/parse.c
2011-08-13 08:16:05 +00:00
f843a6e003
* fixed an issue in parsing an expression like "a++ ++b" or "1 ++b"
...
* added _WIN32 code handling QSE_PIO_MBSCMD
* fixed various _WIN32 issues in qse_env_t
* added untested OS2 code handling QSE_PIO_MBSCMD
2011-08-12 09:11:02 +00:00
f43799a68c
enhanced error handling for shorter code in some functions of qse_awk_t
2011-07-26 02:25:13 +00:00
6ac70e5958
touched up the parser code for qse_awk_t a bit
2011-07-26 01:32:49 +00:00
5464fecddc
added qse_awk_valtolong() and qse_awk_valtoreal() for convenience
2011-07-25 08:24:13 +00:00
b67f0ccd42
enhanced constant folding code for qse_awk_t
2011-07-24 10:17:15 +00:00
59afc79821
added floating-pointer remainder handler for qse_awk_t
2011-07-24 03:03:48 +00:00
b2e7566e6b
added a few lines of constant folding code for awk. still incomplete
2011-07-23 09:37:46 +00:00
7a1682ae00
changed wrong comments
2011-05-30 09:22:08 +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
ef13e990cb
touched up code a bit
2011-05-24 11:02:35 +00:00
7e6a4dc0d5
* added qse_cptl_t/qse_xptl_t
...
* deleted word substitution functions from awk
2011-05-24 10:52:37 +00:00