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:
8
sks/color/color.k
Normal file
8
sks/color/color.k
Normal file
@@ -0,0 +1,8 @@
|
||||
@@@argtype color |
|
||||
a color in the form <red> <green> <blue>.
|
||||
:pattern 'float' 'float' 'float'
|
||||
:python_cast (lambda s : [float(e) for e in s.strip().split()])
|
||||
@@@
|
||||
|
||||
@@color.k rgb :text : Color description as required by the target from @c <r>,<g>,<b> @ input @@
|
||||
@@color :: @eval color.Color(K) eval@ @@
|
||||
Reference in New Issue
Block a user