aboutsummaryrefslogtreecommitdiff
path: root/tests/test3.chn
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2025-01-04 23:28:34 +0100
committerThomas Albers Raviola <thomas@thomaslabs.org>2025-01-05 17:11:20 +0100
commitbc69faaa5bbd8a2d8afb9ab81882b1ba21c4bb8e (patch)
tree6ad76e58bb58f1ac00dcf4ec2dff8d4239f3592e /tests/test3.chn
parent9412242d0aa9550860db364ddf715fd5c5855740 (diff)
Reorganize and add documentation
Diffstat (limited to 'tests/test3.chn')
-rw-r--r--tests/test3.chn9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test3.chn b/tests/test3.chn
new file mode 100644
index 0000000..2fbdeab
--- /dev/null
+++ b/tests/test3.chn
@@ -0,0 +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{@section}{@lambda*{@title}{@gp{@quote{@section}}}{@title@siblings@title
+}}%
+@section{Hello World}
+hola
+@section{Good Bye World}
+chao