mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-04 14:03:53 +01:00
85 lines
1.3 KiB
INI
85 lines
1.3 KiB
INI
# Some designs intended for testing.
|
|
# Currently unused.
|
|
|
|
|
|
BOX test5
|
|
|
|
author "Thomas Jensen"
|
|
designer "Thomas Jensen"
|
|
|
|
sample test5
|
|
ends
|
|
|
|
shapes {
|
|
e ("1","2","3")
|
|
w ("1","2","3","4","5")
|
|
ene ("|","|")
|
|
wsw ("|","|","|")
|
|
|
|
s ("#") n ("#") nw ("#") se ("#") sw ("#") ne ("#")
|
|
}
|
|
|
|
elastic (n,s,e, w)
|
|
|
|
END test5
|
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
BOX test6
|
|
|
|
author "Thomas Jensen"
|
|
designer "Thomas Jensen"
|
|
|
|
sample test6
|
|
ends
|
|
|
|
shapes {
|
|
ene ("1","2","3")
|
|
ese ("4","5","6")
|
|
wnw ("1","2","3","4","5")
|
|
wsw ("6","7","8","9","0")
|
|
e ("|","|")
|
|
w ("|","|","|")
|
|
|
|
s ("#") n ("#-") nw ("#") se ("#") sw ("#") ne ("#")
|
|
}
|
|
|
|
elastic (ene,ese,wnw,wsw,n,s)
|
|
|
|
END test6
|
|
|
|
|
|
# ============================================================================
|
|
|
|
|
|
BOX retest
|
|
|
|
author "Thomas Jensen"
|
|
designer "Thomas Jensen"
|
|
|
|
sample
|
|
regular expression test
|
|
use "foo", "bar", and "--" repeatedly in input
|
|
ends
|
|
|
|
delimiter ?"
|
|
|
|
shapes { nw ("*") ne ("*") sw ("*") se ("*")
|
|
n ("*") e ("*") s ("*") w ("*")
|
|
}
|
|
|
|
elastic (n,e,s,W)
|
|
|
|
replace once "bar" with "raba-raba"
|
|
replace global "f(o)o" with "fu$1$1$1$1$1$1"
|
|
replace "--" with "++++"
|
|
|
|
END retest
|
|
|
|
|
|
# ============================================================================
|
|
|
|
# vim: set ai sw=4:
|