core: Add factor[[ ]] and <factor> to hold Factor strings.
parent
24929aadf1
commit
e6715f41a5
|
@ -127,6 +127,14 @@ IN: bootstrap.syntax
|
||||||
"[=====["
|
"[=====["
|
||||||
"[======["
|
"[======["
|
||||||
|
|
||||||
|
"factor[["
|
||||||
|
"factor[=["
|
||||||
|
"factor[==["
|
||||||
|
"factor[===["
|
||||||
|
"factor[====["
|
||||||
|
"factor[=====["
|
||||||
|
"factor[======["
|
||||||
|
|
||||||
"![["
|
"![["
|
||||||
"![=["
|
"![=["
|
||||||
"![==["
|
"![==["
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Doug Coleman
|
|
@ -0,0 +1,6 @@
|
||||||
|
! Copyright (C) 2018 Doug Coleman.
|
||||||
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
|
IN: factor
|
||||||
|
|
||||||
|
TUPLE: factor text ;
|
||||||
|
C: <factor> factor
|
|
@ -5,8 +5,8 @@ classes.algebra.private classes.builtin classes.error
|
||||||
classes.intersection classes.maybe classes.mixin classes.parser
|
classes.intersection classes.maybe classes.mixin classes.parser
|
||||||
classes.predicate classes.singleton classes.tuple
|
classes.predicate classes.singleton classes.tuple
|
||||||
classes.tuple.parser classes.union combinators compiler.units
|
classes.tuple.parser classes.union combinators compiler.units
|
||||||
definitions delegate delegate.private effects effects.parser fry
|
definitions delegate delegate.private effects effects.parser factor
|
||||||
functors2 generic generic.hook generic.math generic.parser
|
fry functors2 generic generic.hook generic.math generic.parser
|
||||||
generic.standard hash-sets hashtables hashtables.identity hints
|
generic.standard hash-sets hashtables hashtables.identity hints
|
||||||
init interpolate io.pathnames kernel lexer locals.errors
|
init interpolate io.pathnames kernel lexer locals.errors
|
||||||
locals.parser locals.types macros math memoize multiline
|
locals.parser locals.types macros math memoize multiline
|
||||||
|
@ -396,6 +396,14 @@ IN: bootstrap.syntax
|
||||||
|
|
||||||
{ "_" "@" } define-fry-specifiers
|
{ "_" "@" } define-fry-specifiers
|
||||||
|
|
||||||
|
"factor[[" [ "]]" parse-multiline-string0 <factor> suffix! ] define-core-syntax
|
||||||
|
"factor[=[" [ "]=]" parse-multiline-string0 <factor> suffix! ] define-core-syntax
|
||||||
|
"factor[==[" [ "]==]" parse-multiline-string0 <factor> suffix! ] define-core-syntax
|
||||||
|
"factor[===[" [ "]===]" parse-multiline-string0 <factor> suffix! ] define-core-syntax
|
||||||
|
"factor[====[" [ "]====]" parse-multiline-string0 <factor> suffix! ] define-core-syntax
|
||||||
|
"factor[=====[" [ "]=====]" parse-multiline-string0 <factor> suffix! ] define-core-syntax
|
||||||
|
"factor[======[" [ "]======]" parse-multiline-string0 <factor> suffix! ] define-core-syntax
|
||||||
|
|
||||||
"[[" [ "]]" parse-multiline-string0 suffix! ] define-core-syntax
|
"[[" [ "]]" parse-multiline-string0 suffix! ] define-core-syntax
|
||||||
"[=[" [ "]=]" parse-multiline-string0 suffix! ] define-core-syntax
|
"[=[" [ "]=]" parse-multiline-string0 suffix! ] define-core-syntax
|
||||||
"[==[" [ "]==]" parse-multiline-string0 suffix! ] define-core-syntax
|
"[==[" [ "]==]" parse-multiline-string0 suffix! ] define-core-syntax
|
||||||
|
|
Loading…
Reference in New Issue