(:no-default-worked?:)
(:default-worked? ~ default value worked:)
(:function-worked? ~ default value worked:)
(:number-worked?:)
should be blank: (:boolean-false ~ hi:)
should say hi 1: (:boolean-true ~ hi [: number-worked? :] :)
escape test: (^\: (\: [\: {\: |\: \\: :\\ :\| :\} :\] :\) :\^)
nested escape test: (: blahdah ~ (^\: (\: [\: {\: |\: \\: :\\ :\| :\} :\] :\) :\^) :)
nested function call escape test: (: noop ~ (^\: (\: [\: {\: |\: \\: :\\ :\| :\} :\] :\) :\^) :)
Two squared is (:square ~ 2:)
Test Zero Val: (:zero-val:)
Array Test
(:blog-entry ~
[:blog-title:]
[:publish-date:]
:)
If -- Then -- else If --- else
(: :)
Object test
(: page-info ~
- Date: [:date:]
- Name: [:my-name ~ Who knows:]
- Page: [:page-number:]
- PWD: [:file ~ ./pwd.txt:]
:)
Embedded File
Test embedding an unbound file:
(:file^ ~ ./pwd.txt :)
(:file^ ~ ./something.js :)
Super Nested
(:month-name:) |
(: weeks ~
[:week-name:] |
[: days ~
{:day:} - {:date:}
{: events ~
-
|:event-name:|
The Guests:
|:guest-list ~ - \:name:\
:|
:}
| :]
:)
Undefines in Lists
seven things:
(:list ~ - [:name ~ no-name :]
:)
Test null and undefined
should be empty string: (:foo ~ bar:)
should be "poo": (:wee ~ poo:)
should be 0: (:haa ~ qii:)
First anchor point test
#:first:#
empty anchor point test: #:empty:#
second anchor point: #:second:#
(: #:first:# ~ this text should be above :)
Client Side Test