Initial commit: Klammertext source distribution

Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-18 18:48:23 +02:00
commit 2ba7ceee7a
272 changed files with 27634 additions and 0 deletions

23
sks/date/date.k Executable file
View File

@@ -0,0 +1,23 @@
@@date.k : Date formatted as "16 June 1910" @@
@@date.html :: @eval time.strftime("%d %B %Y").lstrip('0') eval@ @@
@@date.tex :: @eval time.strftime("%d %B %Y").lstrip('0') eval@ @@
@@date.txt :: @eval time.strftime("%d %B %Y").lstrip('0') eval@ @@
@@datetime.k : Date formatted as "16 June 1910, 13:10 @@
@@datetime.html :: @eval time.strftime("%d %B %Y, %H:%M").lstrip('0') eval@ @@
@@datetime.tex :: @eval time.strftime("%d %B %Y, %H:%M").lstrip('0') eval@ @@
@@timestamp.k : Date and time formatted as "1910.06.16-12:34" @@
@@timestamp :: @eval time.strftime("%Y.%m.%d-%H:%M") eval@ @@
@@serialdate.k : Date formatted as "YYMMDD" @@
@@serialdate :: @eval time.strftime("%y%m%d") eval@ @@
@@year.k : Current year formatted as "20XX" @@
@@year :: @eval time.strftime("%Y") eval@ @@
#[
@@@category date
date datetime timestamp serialdate
:desc Time and date formatting @@@
]#