aboutsummaryrefslogtreecommitdiffstats
path: root/cppawk-include
Commit message (Collapse)AuthorAgeFilesLines
* narg: new variexpand macro.Kaz Kylheku2022-04-072-4/+103
|
* New function equalize.Kaz Kylheku2022-04-052-4/+27
|
* unbox: indentation fix.Kaz Kylheku2022-04-051-1/+1
|
* Add box_str function.Kaz Kylheku2022-04-052-0/+6
|
* start test cases for <cons.h> material.Kaz Kylheku2022-04-041-30/+30
| | | | | | Small documentation tweak. Numerous bugfixes as a result of testing: null, endp, stringp, symbolp, box, unbox, cdr, equal all found to have some issues.
* Handle undefined value in type system.Kaz Kylheku2022-04-041-1/+21
| | | | New type code U indicates boxed undefined value.
* unbox: handle nil => "nil"Kaz Kylheku2022-04-041-0/+2
|
* __li, __listar: indentation fix.Kaz Kylheku2022-04-041-2/+2
|
* box_sym: handle "nil" -> nil.Kaz Kylheku2022-04-041-1/+1
|
* New accessors stringp and symbolp.Kaz Kylheku2022-04-042-0/+14
|
* Rename sym to box_sym.Kaz Kylheku2022-04-042-2/+2
|
* Rename nump to numberp.Kaz Kylheku2022-04-042-6/+6
|
* Fix incorrect #defines for and and or.Kaz Kylheku2022-04-041-2/+2
|
* Get rid of true, false and __config_strict_falseKaz Kylheku2022-04-041-23/+2
|
* iter, vars, fun: use only cons-priv.Kaz Kylheku2022-04-033-14/+14
|
* iter: split off some macros into iter-priv.Kaz Kylheku2022-04-033-36/+85
| | | | Use only iter-priv.h in cons.h. Use cons-priv.h in iter.h.
* cons: split into private/public.Kaz Kylheku2022-04-034-739/+821
| | | | | A couple of loop clause macros now match the public macros, requiring a little adjustment.
* cons: rename tolisp and toawk functions.Kaz Kylheku2022-04-031-6/+6
| | | | The new terminology is box and unbox.
* varg-priv: fix circular dep with cons.Kaz Kylheku2022-04-021-5/+5
|
* loop: new if combinator.Kaz Kylheku2022-04-011-0/+6
|
* loop: new clauses first_then, for_var, collect_plus.Kaz Kylheku2022-03-311-0/+14
|
* list_add: fix multiple evaluation and paren problem.Kaz Kylheku2022-03-311-1/+6
|
* iter: new minimizing, argmax, argmin clauses.Kaz Kylheku2022-03-311-0/+47
|
* iter: fix bug in list clause.Kaz Kylheku2022-03-311-1/+1
|
* loop: add summing, maximizing, while, until.Kaz Kylheku2022-03-311-0/+31
|
* iter: fix circular header inclusion issue.Kaz Kylheku2022-03-311-4/+5
| | | | | | | - Add forgotten define __CPPAWK_ITER_H. - This requires the include of "cons.h" to be moved a bit down, since that uses the doarray and whatnot. We move it above loop; "cons.h" doesn't use that.
* Adding Lisp-inspired data and control utilities.Kaz Kylheku2022-03-317-0/+1385
|
* narg: rename some arguments.Kaz Kylheku2022-03-291-1/+1
|
* case: add mixed clause.Kaz Kylheku2022-03-292-0/+10
|
* nargs: add splice macro.Kaz Kylheku2022-03-292-0/+4
|
* New public header <narg.h>.Kaz Kylheku2022-03-291-0/+39
|
* __revargs: rename to __revarg to rhyme with narg.Kaz Kylheku2022-03-281-1/+1
|
* narg: 16 argument safety red zone.Kaz Kylheku2022-03-281-8/+21
|
* Settle on single, most general __varexpand.Kaz Kylheku2022-03-282-130/+79
| | | | | The nested form based on the reduce concept is more general; one macro does it all.
* __varexpand_simple: get rid of __rep_ macros.Kaz Kylheku2022-03-281-136/+1
| | | | | | | There is no need for __varexpand_simple to carry its own set of 32 macros, because it's just a special case of __varexpand_infix, with the same helper macro duplicated as mac1 and mac2.
* Test for features not awks.Kaz Kylheku2022-03-282-1/+5
| | | | | Let's start the practice of setting up some feature macros in base.h. Then test for features elsewhere.
* Simplify definition of variadic macros.Kaz Kylheku2022-03-282-8/+16
|
* Remove stray character in macro expansion.Kaz Kylheku2022-03-281-1/+1
| | | | | This would affect 15 argument variadic macros, like case clauses with exactly 15 keys.
* Fix some include guards lacking trailing _H.Kaz Kylheku2022-03-282-3/+3
|
* New <case.h> header and macro.Kaz Kylheku2022-03-275-1/+493
| | | | | | This provides a portable case statement implemented directly as switch on GNU Awk, and using other approaches on other Awks that do not have switch.
* Keep empty cppawk-include directory.Kaz Kylheku2022-03-241-0/+1
|
* get rid of <stdver.h> header.Kaz Kylheku2022-03-231-1/+0
| | | | cppawk internally defines __cppawk_ver now.
* Add cppawk-include directory and <stdver.h> header.Kaz Kylheku2022-03-181-0/+1