Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | doc: bad markup in cppawk-iter.1HEADmaster | Kaz Kylheku | 2024-01-23 | 1 | -1/+1 |
| | |||||
* | doc: cppawk-case.1 refers to nonexistent "cond" macro. | Kaz Kylheku | 2024-01-23 | 1 | -1/+1 |
| | |||||
* | Add function for shell quoting. | Kaz Kylheku | 2023-06-26 | 6 | -0/+269 |
| | | | | | | | | | | | | | * README.md: Mention <quote.h> and cppawk-quote man page. * share/cppawk/include/quote.h, * share/cppawk/include/quote-priv.h: New files. * testcases-quote: New file. * cppawk-quote.1: New file. * runtests: Add testcases-quote. | ||||
* | Formatting typo in man page. | Kaz Kylheku | 2022-10-09 | 1 | -1/+1 |
| | | | | | * cppawk.1: --dump-macros comes out wrong due to hyphen being mistyped as backslash. | ||||
* | Support "base" argument to runtests. | Kaz Kylheku | 2022-07-17 | 1 | -1/+1 |
| | | | | | | This allows ./runtests base to just run the tests in the testcases file, the same way that, for instance, ./runtests cons runs the testcases-cons tests. | ||||
* | Implement -E option and <safearg.h> header. | Kaz Kylheku | 2022-07-17 | 6 | -4/+175 |
| | | | | | | | | | | | | | | | The -E option is not passed through to the Awk implementation any more, which is not particularly useful, because the option resembles -f, and its argument requires likewise handling. We achieve the semantics that -E <name> is equivalent to -f <name> --. From the GNU Awk user's perspective, this is a regression in the semantics of -E which also has the effect of suppressing the processing of arguments which look like variable assignments. To make up for that, we provide the <safearg.h> header which suppresses all implicit treatment of the remaining arguments. | ||||
* | man page: remove stray text about backslash newlines.20220703 | Kaz Kylheku | 2022-07-03 | 1 | -6/+0 |
| | |||||
* | Bump version to 20220703. | Kaz Kylheku | 2022-07-03 | 1 | -1/+1 |
| | |||||
* | testcases: add missing ! to end here-document. | Paul A. Patience | 2022-07-03 | 1 | -0/+1 |
| | |||||
* | Skip some testcases-iter cases for mawk. | Paul A. Patience | 2022-07-03 | 1 | -1/+1 |
| | | | | | | | | Like the testcases-cons case skipped in commit 128f71061b50fb8d6e625be84e541e64f21daf13, these cases depend on the key ordering of arrays, which is evidently different in mawk 1.3.4-20200120 (the mawk with which these tests were detected as failing) and gawk. | ||||
* | Skip #39 testcases-cons case for mawk. | Kaz Kylheku | 2022-07-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Reported by Paul A. Patience. The test case depends on the order of keys in an associative array. This is not good, but be that as it may, the test case works for the Ubuntu 18 version of mawk (32 and 64 bit). It looks like Mawk has been changing something in its assoc array implementation, like the hashing function or whatever. Let's just skip mawk for that test. If it starts breaking for gawk, we will do a real fix. | ||||
* | Don't pull in $0 into diagnostics by accident. | Kaz Kylheku | 2022-07-02 | 1 | -1/+1 |
| | | | | Reported by Paul A. Patience. | ||||
* | Add LICENSE file; mention in README. | Kaz Kylheku | 2022-07-02 | 2 | -0/+31 |
| | |||||
* | README: remove extra colons in verbatim blocks. | Kaz Kylheku | 2022-07-02 | 1 | -3/+3 |
| | | | | Reported by Paul A. Patience. | ||||
* | README: fix some typos. | Paul A. Patience | 2022-07-02 | 1 | -15/+16 |
| | |||||
* | Restructure cppawk installation. | Kaz Kylheku | 2022-07-02 | 18 | -25/+35 |
| | | | | | | | | | cppawk now expects to be installed in some directory (typically "bin"), such that the include files are in a "share/cppawk/include" directory where "share" is a sibling of "bin". The git repository is restructured to match this shape; cppawk is moved into "bin", and the include files into "share/cppawk/include". | ||||
* | loop: records: don't loop if file can't be oopened. | Kaz Kylheku | 2022-07-02 | 1 | -1/+1 |
| | |||||
* | Add missing file. | Kaz Kylheku | 2022-07-02 | 1 | -0/+2 |
| | |||||
* | New header: <array.h> | Kaz Kylheku | 2022-04-25 | 3 | -0/+211 |
| | |||||
* | man page: add origin-comment example. | Kaz Kylheku | 2022-04-24 | 1 | -0/+18 |
| | |||||
* | man page: use fonts in examples. | Kaz Kylheku | 2022-04-24 | 1 | -5/+11 |
| | |||||
* | loop: new records clause. | Kaz Kylheku | 2022-04-23 | 3 | -0/+57 |
| | |||||
* | loop: new counting clause. | Kaz Kylheku | 2022-04-23 | 3 | -0/+49 |
| | |||||
* | iter: argmax, argmin: argument need not be variable! | Kaz Kylheku | 2022-04-23 | 3 | -60/+91 |
| | |||||
* | set_fields: document/test the start index param. | Kaz Kylheku | 2022-04-23 | 2 | -4/+38 |
| | |||||
* | fields: new parameters to select subrange. | Kaz Kylheku | 2022-04-22 | 3 | -9/+123 |
| | |||||
* | cons man page: tweak optional arg syntax. | Kaz Kylheku | 2022-04-22 | 1 | -4/+4 |
| | |||||
* | narg man page: fix wrong ref to Case Macro. | Kaz Kylheku | 2022-04-22 | 1 | -1/+1 |
| | |||||
* | Add copyright block to a few man pages. | Kaz Kylheku | 2022-04-22 | 3 | -0/+78 |
| | |||||
* | New <field.h> header: positional parameter utils. | Kaz Kylheku | 2022-04-22 | 5 | -2/+460 |
| | |||||
* | Testcases for <varg.h>. | Kaz Kylheku | 2022-04-22 | 2 | -0/+285 |
| | |||||
* | varg-priv: whitespace fix. | Kaz Kylheku | 2022-04-22 | 1 | -2/+2 |
| | |||||
* | man page: note issue with backslash continuation. | Kaz Kylheku | 2022-04-22 | 1 | -0/+23 |
| | |||||
* | cppawk-fun man page: ITER in header, missing example. | Kaz Kylheku | 2022-04-21 | 1 | -3/+25 |
| | |||||
* | New man page: cppawk-varg. | Kaz Kylheku | 2022-04-20 | 3 | -5/+330 |
| | |||||
* | README: turn header names into links. | Kaz Kylheku | 2022-04-20 | 1 | -12/+10 |
| | |||||
* | New man page: cppawk-fun. | Kaz Kylheku | 2022-04-20 | 2 | -0/+134 |
| | |||||
* | README: <iter.h> is documented. | Kaz Kylheku | 2022-04-19 | 1 | -3/+3 |
| | |||||
* | Bump version to 20220419. | Kaz Kylheku | 2022-04-19 | 6 | -6/+6 |
| | |||||
* | New man page: cppawk-iter. | Kaz Kylheku | 2022-04-19 | 1 | -0/+1554 |
| | |||||
* | man page: mention non-recursion of macros in BUGS. | Kaz Kylheku | 2022-04-19 | 1 | -0/+22 |
| | |||||
* | loop: argmax: single iter must produce arg. | Kaz Kylheku | 2022-04-19 | 2 | -2/+19 |
| | |||||
* | loop: argmax: no iters must produce nil. | Kaz Kylheku | 2022-04-19 | 2 | -2/+19 |
| | |||||
* | iter: rename loop_cross and lockstep. | Kaz Kylheku | 2022-04-18 | 2 | -15/+15 |
| | | | | | loop_cross -> loop_nest lockstep -> parallel | ||||
* | README: completion of cons.h, mention unpublished headers. | Kaz Kylheku | 2022-04-18 | 1 | -2/+17 |
| | |||||
* | Bump version to 20220418.20220418 | Kaz Kylheku | 2022-04-18 | 5 | -5/+5 |
| | |||||
* | cons: bags macro: document, test. | Kaz Kylheku | 2022-04-18 | 2 | -0/+67 |
| | |||||
* | cons: list_begin, list_add, list_end: document, test. | Kaz Kylheku | 2022-04-18 | 3 | -1/+109 |
| | |||||
* | cons: push, pop: document, test. | Kaz Kylheku | 2022-04-16 | 2 | -0/+120 |
| | |||||
* | Add missing Copyright 2022 into license headers. | Kaz Kylheku | 2022-04-16 | 15 | -15/+15 |
| |