diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2024-05-16 18:31:28 +0200 |
---|---|---|
committer | Thomas Albers Raviola <thomas@thomaslabs.org> | 2025-01-05 17:11:20 +0100 |
commit | 66682b1a6862caeadbd872065425a2d672f640a6 (patch) | |
tree | f010bb2afd58bcddfc56b672b8f1532bfa1b446a /t | |
parent | ce529296fb83b21950c15eab60b23074ccc79c2e (diff) |
Define types for primitives instead of using lists
Diffstat (limited to 't')
-rw-r--r-- | t/test3.chn | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/t/test3.chn b/t/test3.chn index 42a0b97..2fbdeab 100644 --- a/t/test3.chn +++ b/t/test3.chn @@ -1,3 +1,9 @@ -{@define}{@define-function}{{@syntax}{@name @args @body}{{@define}{@name}{{@lambda}{@args}{@body}}}}% -{@define-function}{@foo}{@a @b}{hola @b}% -{@foo}{mundo}{casa} +@define{@define-function}{@syntax{@name @args @body}{@define{@name}{@lambda{@args}{@body}}}}% +@define-function{@foo}{@a @b}{hola @b}% +@foo{mundo}{casa} +@define{@section}{@lambda*{@title}{@gp{@quote{@section}}}{@title@siblings@title +}}% +@section{Hello World} +hola +@section{Good Bye World} +chao |