all repos — min @ 4da4ef954921993dd39b2c033d40b84c8ea17630

A small but practical concatenative programming language.

Added tests.
h3rald h3rald@h3rald.com
Sun, 30 Jul 2023 11:33:30 +0000
commit

4da4ef954921993dd39b2c033d40b84c8ea17630

parent

3b6d4678c01b1f244d2e3cce703050def51e636e

1 files changed, 27 insertions(+), 0 deletions(-)

jump to
A tests/xml.min

@@ -0,0 +1,27 @@

+'test require :test +;;; + + +"xml" *test/describe + + ("test" xentity /text "test" ==) *test/assert + + ("test" xcomment /text "test" ==) *test/assert + + ("test" xtext /text "test" ==) *test/assert + + ("test" xcdata /text "test" ==) *test/assert + + ("test" xelement /tag "test" ==) *test/assert + + ( + "test" xelement :xnode + xnode {"a" :attr1} %attributes @xnode + "a1" xelement :child + "text..." xtext :text + xnode (child text) => %children @xnode + xnode to-xml + "<test attr1=\"a\"><a1 />text...</test>" == ) *test/assert + + *test/report + clear-stack