factor/core/bootstrap/syntax.factor

102 lines
1.8 KiB
Factor
Raw Permalink Normal View History

2008-12-17 19:12:59 -05:00
! Copyright (C) 2007, 2008 Slava Pestov.
2007-09-20 18:09:08 -04:00
! See http://factorcode.org/license.txt for BSD license.
2009-11-13 08:55:47 -05:00
USING: words words.symbol sequences vocabs kernel
compiler.units ;
2007-09-20 18:09:08 -04:00
IN: bootstrap.syntax
2009-11-13 08:55:47 -05:00
[
"syntax" create-vocab drop
2007-09-20 18:09:08 -04:00
2009-11-13 08:55:47 -05:00
{
"\""
"("
":"
";"
"<PRIVATE"
"B{"
"BV{"
"C:"
"CHAR:"
"DEFER:"
"ERROR:"
"FORGET:"
"GENERIC#:"
2009-11-13 08:55:47 -05:00
"GENERIC:"
"HOOK:"
"H{"
2010-02-26 11:01:57 -05:00
"HS{"
2009-11-13 08:55:47 -05:00
"IN:"
"INSTANCE:"
"M:"
"MAIN:"
"MATH:"
"MIXIN:"
"NAN:"
"P\""
"POSTPONE:"
"PREDICATE:"
"PRIMITIVE:"
"PRIVATE>"
"SBUF\""
"SINGLETON:"
"SINGLETONS:"
"BUILTIN:"
2009-11-13 08:55:47 -05:00
"SYMBOL:"
"SYMBOLS:"
"CONSTANT:"
"TUPLE:"
"final"
2009-11-13 08:55:47 -05:00
"SLOT:"
"T{"
"TH{"
2009-11-13 08:55:47 -05:00
"UNION:"
"INTERSECTION:"
"USE:"
"UNUSE:"
"USING:"
"QUALIFIED:"
"QUALIFIED-WITH:"
"FROM:"
"EXCLUDE:"
"RENAME:"
"ALIAS:"
"SYNTAX:"
"V{"
"W{"
"["
"\\"
"M\\"
"]"
"delimiter"
"deprecated"
"f"
"flushable"
"foldable"
"inline"
"recursive"
"t"
"{"
"}"
"CS{"
"<<"
">>"
"call-next-method"
"not{"
"maybe{"
"union{"
"intersection{"
2009-11-13 08:55:47 -05:00
"initial:"
"read-only"
"call("
"execute("
"<<<<<<"
"======"
">>>>>>"
"<<<<<<<"
"======="
">>>>>>>"
} [ "syntax" create-word drop ] each
2007-09-20 18:09:08 -04:00
2011-11-06 18:57:24 -05:00
"t" "syntax" lookup-word define-symbol
2009-11-13 08:55:47 -05:00
] with-compilation-unit