From: John Benediktsson Date: Tue, 13 Oct 2020 17:04:20 +0000 (-0700) Subject: misc: couple more examples for syntax-test. X-Git-Tag: 0.99~3068 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=7f6b95868a3bc4f0c6b0d93352899247e52d83f2 misc: couple more examples for syntax-test. --- diff --git a/misc/syntax-test.factor b/misc/syntax-test.factor index 14e09e4887..be9bf090e4 100644 --- a/misc/syntax-test.factor +++ b/misc/syntax-test.factor @@ -45,6 +45,8 @@ ! Examples TUPLE: interval-map { array array read-only } ; + TUPLE: foo a b c ; + TUPLE: foo < bar d e f ; BUILTIN: string { length array-capacity read-only initial: 0 } aux ; ! Definitions @@ -222,6 +224,7 @@ PRIVATE> CHAR: a CHAR: symbol-for-end-of-transmission CHAR: snowman + CHAR: ☃ { CHAR: a CHAR: S } { CHAR: b CHAR: D }