From 54ac5e763cc26aee8c6fc9502398ce7b61281ec8 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Mon, 14 Sep 2026 20:57:48 -0700 Subject: place a trap inside the hex-transformed nlabel-transform-one this will be used to cause it to apply a tilde alternate, but the lexing code for that needs to be refactored first also, this has an implementation of nexit, a new flow-control word for a scary style of metaprogramming Force-Push: yes Change-Id: Ic7fe2d50a8ee21cf9fa5fef1fef4408c2935bb4c --- README.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'README.txt') diff --git a/README.txt b/README.txt index 71ff62c..1e1094d 100644 --- a/README.txt +++ b/README.txt @@ -133,6 +133,32 @@ takes care not to encourage programming habits that would burn through memory space. + ~~~~~~~~~~~~~~~~~~~~~ +~~ Advanced features ~~ + ~~~~~~~~~~~~~~~~~~~~~ + +TODO where should this go? should there be an interactive tutorial? + +: baz ." baz baz baz!" newline 1 nexit ; +: bar ." bar start" newline baz baz baz ." bar end" newline ; +: foo ." foo start" newline bar ." foo end" newline ; +foo +foo start +bar start +baz baz baz! +baz baz baz! +baz baz baz! +bar end +foo end +: baz ." baz baz baz!" newline 2 nexit ; +: bar ." bar start" newline baz baz baz ." bar end" newline ; +: foo ." foo start" newline bar ." foo end" newline ; +foo +foo start +bar start +baz baz baz! + + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ Reading Evocation's source code ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit 1.4.1