aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc: bad markup in cppawk-iter.1HEADmasterKaz Kylheku2024-01-231-1/+1
|
* doc: cppawk-case.1 refers to nonexistent "cond" macro.Kaz Kylheku2024-01-231-1/+1
|
* Add function for shell quoting.Kaz Kylheku2023-06-266-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 Kylheku2022-10-091-1/+1
| | | | | * cppawk.1: --dump-macros comes out wrong due to hyphen being mistyped as backslash.
* Support "base" argument to runtests.Kaz Kylheku2022-07-171-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 Kylheku2022-07-176-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.20220703Kaz Kylheku2022-07-031-6/+0
|
* Bump version to 20220703.Kaz Kylheku2022-07-031-1/+1
|
* testcases: add missing ! to end here-document.Paul A. Patience2022-07-031-0/+1
|
* Skip some testcases-iter cases for mawk.Paul A. Patience2022-07-031-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 Kylheku2022-07-021-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 Kylheku2022-07-021-1/+1
| | | | Reported by Paul A. Patience.
* Add LICENSE file; mention in README.Kaz Kylheku2022-07-022-0/+31
|
* README: remove extra colons in verbatim blocks.Kaz Kylheku2022-07-021-3/+3
| | | | Reported by Paul A. Patience.
* README: fix some typos.Paul A. Patience2022-07-021-15/+16
|
* Restructure cppawk installation.Kaz Kylheku2022-07-0218-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 Kylheku2022-07-021-1/+1
|
* Add missing file.Kaz Kylheku2022-07-021-0/+2
|
* New header: <array.h>Kaz Kylheku2022-04-253-0/+211
|
* man page: add origin-comment example.Kaz Kylheku2022-04-241-0/+18
|
* man page: use fonts in examples.Kaz Kylheku2022-04-241-5/+11
|
* loop: new records clause.Kaz Kylheku2022-04-233-0/+57
|
* loop: new counting clause.Kaz Kylheku2022-04-233-0/+49
|
* iter: argmax, argmin: argument need not be variable!Kaz Kylheku2022-04-233-60/+91
|
* set_fields: document/test the start index param.Kaz Kylheku2022-04-232-4/+38
|
* fields: new parameters to select subrange.Kaz Kylheku2022-04-223-9/+123
|
* cons man page: tweak optional arg syntax.Kaz Kylheku2022-04-221-4/+4
|
* narg man page: fix wrong ref to Case Macro.Kaz Kylheku2022-04-221-1/+1
|
* Add copyright block to a few man pages.Kaz Kylheku2022-04-223-0/+78
|
* New <field.h> header: positional parameter utils.Kaz Kylheku2022-04-225-2/+460
|
* Testcases for <varg.h>.Kaz Kylheku2022-04-222-0/+285
|
* varg-priv: whitespace fix.Kaz Kylheku2022-04-221-2/+2
|
* man page: note issue with backslash continuation.Kaz Kylheku2022-04-221-0/+23
|
* cppawk-fun man page: ITER in header, missing example.Kaz Kylheku2022-04-211-3/+25
|
* New man page: cppawk-varg.Kaz Kylheku2022-04-203-5/+330
|
* README: turn header names into links.Kaz Kylheku2022-04-201-12/+10
|
* New man page: cppawk-fun.Kaz Kylheku2022-04-202-0/+134
|
* README: <iter.h> is documented.Kaz Kylheku2022-04-191-3/+3
|
* Bump version to 20220419.Kaz Kylheku2022-04-196-6/+6
|
* New man page: cppawk-iter.Kaz Kylheku2022-04-191-0/+1554
|
* man page: mention non-recursion of macros in BUGS.Kaz Kylheku2022-04-191-0/+22
|
* loop: argmax: single iter must produce arg.Kaz Kylheku2022-04-192-2/+19
|
* loop: argmax: no iters must produce nil.Kaz Kylheku2022-04-192-2/+19
|
* iter: rename loop_cross and lockstep.Kaz Kylheku2022-04-182-15/+15
| | | | | loop_cross -> loop_nest lockstep -> parallel
* README: completion of cons.h, mention unpublished headers.Kaz Kylheku2022-04-181-2/+17
|
* Bump version to 20220418.20220418Kaz Kylheku2022-04-185-5/+5
|
* cons: bags macro: document, test.Kaz Kylheku2022-04-182-0/+67
|
* cons: list_begin, list_add, list_end: document, test.Kaz Kylheku2022-04-183-1/+109
|
* cons: push, pop: document, test.Kaz Kylheku2022-04-162-0/+120
|
* Add missing Copyright 2022 into license headers.Kaz Kylheku2022-04-1615-15/+15
|