Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Starting man page for <cons.h>. | Kaz Kylheku | 2022-04-04 | 1 | -0/+775 | |
| | ||||||
* | Handle undefined value in type system. | Kaz Kylheku | 2022-04-04 | 1 | -1/+21 | |
| | | | | New type code U indicates boxed undefined value. | |||||
* | unbox: handle nil => "nil" | Kaz Kylheku | 2022-04-04 | 1 | -0/+2 | |
| | ||||||
* | __li, __listar: indentation fix. | Kaz Kylheku | 2022-04-04 | 1 | -2/+2 | |
| | ||||||
* | box_sym: handle "nil" -> nil. | Kaz Kylheku | 2022-04-04 | 1 | -1/+1 | |
| | ||||||
* | New accessors stringp and symbolp. | Kaz Kylheku | 2022-04-04 | 2 | -0/+14 | |
| | ||||||
* | Rename sym to box_sym. | Kaz Kylheku | 2022-04-04 | 2 | -2/+2 | |
| | ||||||
* | Rename nump to numberp. | Kaz Kylheku | 2022-04-04 | 2 | -6/+6 | |
| | ||||||
* | Fix incorrect #defines for and and or. | Kaz Kylheku | 2022-04-04 | 1 | -2/+2 | |
| | ||||||
* | Get rid of true, false and __config_strict_false | Kaz Kylheku | 2022-04-04 | 1 | -23/+2 | |
| | ||||||
* | iter, vars, fun: use only cons-priv. | Kaz Kylheku | 2022-04-03 | 4 | -15/+18 | |
| | ||||||
* | iter: split off some macros into iter-priv. | Kaz Kylheku | 2022-04-03 | 3 | -36/+85 | |
| | | | | Use only iter-priv.h in cons.h. Use cons-priv.h in iter.h. | |||||
* | cons: split into private/public. | Kaz Kylheku | 2022-04-03 | 4 | -739/+821 | |
| | | | | | A couple of loop clause macros now match the public macros, requiring a little adjustment. | |||||
* | cons: rename tolisp and toawk functions. | Kaz Kylheku | 2022-04-03 | 1 | -6/+6 | |
| | | | | The new terminology is box and unbox. | |||||
* | varg-priv: fix circular dep with cons. | Kaz Kylheku | 2022-04-02 | 1 | -5/+5 | |
| | ||||||
* | README.md: posit why cpp is so effective over awk. | Kaz Kylheku | 2022-04-01 | 1 | -1/+15 | |
| | ||||||
* | README: give link to testcases-iter. | Kaz Kylheku | 2022-04-01 | 1 | -1/+2 | |
| | ||||||
* | README: start touting loop. | Kaz Kylheku | 2022-04-01 | 1 | -1/+62 | |
| | ||||||
* | loop: new if combinator. | Kaz Kylheku | 2022-04-01 | 2 | -0/+43 | |
| | ||||||
* | loop: new clauses first_then, for_var, collect_plus. | Kaz Kylheku | 2022-03-31 | 2 | -0/+50 | |
| | ||||||
* | list_add: fix multiple evaluation and paren problem. | Kaz Kylheku | 2022-03-31 | 1 | -1/+6 | |
| | ||||||
* | iter: new minimizing, argmax, argmin clauses. | Kaz Kylheku | 2022-03-31 | 2 | -0/+78 | |
| | ||||||
* | iter: fix bug in list clause. | Kaz Kylheku | 2022-03-31 | 1 | -1/+1 | |
| | ||||||
* | loop: add summing, maximizing, while, until. | Kaz Kylheku | 2022-03-31 | 2 | -0/+108 | |
| | ||||||
* | iter: fix circular header inclusion issue. | Kaz Kylheku | 2022-03-31 | 1 | -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. | |||||
* | Iteration test cases. | Kaz Kylheku | 2022-03-31 | 2 | -0/+229 | |
| | ||||||
* | Adding Lisp-inspired data and control utilities. | Kaz Kylheku | 2022-03-31 | 7 | -0/+1385 | |
| | ||||||
* | man cppawk-narg: use fonts in synopsis and examples. | Kaz Kylheku | 2022-03-29 | 1 | -45/+93 | |
| | ||||||
* | man cppawk-case: use fonts in synopsis and examples. | Kaz Kylheku | 2022-03-29 | 1 | -23/+34 | |
| | ||||||
* | Fix misuses of formatting macros in man pages. | Kaz Kylheku | 2022-03-29 | 3 | -157/+160 | |
| | ||||||
* | narg: test case exercising all arg list lengths. | Kaz Kylheku | 2022-03-29 | 1 | -0/+15 | |
| | ||||||
* | README: mention <narg.h>. | Kaz Kylheku | 2022-03-29 | 1 | -5/+10 | |
| | ||||||
* | Bump version to 20220329.20220329 | Kaz Kylheku | 2022-03-29 | 3 | -3/+3 | |
| | ||||||
* | narg: rename some arguments. | Kaz Kylheku | 2022-03-29 | 1 | -1/+1 | |
| | ||||||
* | Add cppawk-narg man page. | Kaz Kylheku | 2022-03-29 | 2 | -0/+301 | |
| | ||||||
* | case: add mixed clause. | Kaz Kylheku | 2022-03-29 | 4 | -3/+52 | |
| | ||||||
* | nargs: add splice macro. | Kaz Kylheku | 2022-03-29 | 3 | -0/+18 | |
| | ||||||
* | New public header <narg.h>. | Kaz Kylheku | 2022-03-29 | 3 | -0/+86 | |
| | ||||||
* | __revargs: rename to __revarg to rhyme with narg. | Kaz Kylheku | 2022-03-28 | 1 | -1/+1 | |
| | ||||||
* | narg: 16 argument safety red zone. | Kaz Kylheku | 2022-03-28 | 1 | -8/+21 | |
| | ||||||
* | Settle on single, most general __varexpand. | Kaz Kylheku | 2022-03-28 | 2 | -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 Kylheku | 2022-03-28 | 1 | -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 Kylheku | 2022-03-28 | 2 | -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 Kylheku | 2022-03-28 | 2 | -8/+16 | |
| | ||||||
* | Remove stray character in macro expansion. | Kaz Kylheku | 2022-03-28 | 1 | -1/+1 | |
| | | | | | This would affect 15 argument variadic macros, like case clauses with exactly 15 keys. | |||||
* | Fix some include guards lacking trailing _H. | Kaz Kylheku | 2022-03-28 | 2 | -3/+3 | |
| | ||||||
* | README: mention new case header. | Kaz Kylheku | 2022-03-28 | 1 | -2/+7 | |
| | ||||||
* | README: awkloop: test return value of geline right | Kaz Kylheku | 2022-03-28 | 1 | -1/+1 | |
| | ||||||
* | Document <case.h> with own man page; bump date. | Kaz Kylheku | 2022-03-28 | 3 | -4/+173 | |
| | ||||||
* | New <case.h> header and macro. | Kaz Kylheku | 2022-03-27 | 8 | -4/+553 | |
| | | | | | | 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. |