]> gitweb.factorcode.org Git - factor.git/blob - core/bootstrap/syntax.factor
core: Add auto-use to syntax and add -ea parameter to factor command line.
[factor.git] / core / bootstrap / syntax.factor
1 ! Copyright (C) 2007, 2008 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: words words.symbol sequences vocabs kernel
4 compiler.units ;
5 IN: bootstrap.syntax
6
7 [
8     "syntax" create-vocab drop
9
10     {
11         "\""
12         "("
13         ":"
14         ";"
15         "<PRIVATE"
16         "B{"
17         "BV{"
18         "C:"
19         "CHAR:"
20         "DEFER:"
21         "ERROR:"
22         "FORGET:"
23         "GENERIC#:"
24         "GENERIC:"
25         "HOOK:"
26         "H{"
27         "HS{"
28         "IH{"
29         "IN:"
30         "INSTANCE:"
31         "M:"
32         "MAIN:"
33         "MATH:"
34         "MIXIN:"
35         "NAN:"
36         "P\""
37         "POSTPONE:"
38         "PREDICATE:"
39         "PRIMITIVE:"
40         "PRIVATE>"
41         "SBUF\""
42         "SINGLETON:"
43         "SINGLETONS:"
44         "BUILTIN:"
45         "SYMBOL:"
46         "SYMBOLS:"
47         "CONSTANT:"
48         "TUPLE:"
49         "final"
50         "SLOT:"
51         "T{"
52         "UNION:"
53         "INTERSECTION:"
54         "USE:"
55         "UNUSE:"
56         "USING:"
57         "QUALIFIED:"
58         "QUALIFIED-WITH:"
59         "FROM:"
60         "EXCLUDE:"
61         "RENAME:"
62         "ALIAS:"
63         "SYNTAX:"
64         "V{"
65         "W{"
66         "["
67         "\\"
68         "M\\"
69         "]"
70         "auto-use"
71         "delimiter"
72         "deprecated"
73         "f"
74         "flushable"
75         "foldable"
76         "inline"
77         "recursive"
78         "t"
79         "{"
80         "}"
81         "CS{"
82         "<<"
83         ">>"
84         "call-next-method"
85         "not{"
86         "maybe{"
87         "union{"
88         "intersection{"
89         "initial:"
90         "read-only"
91         "call("
92         "execute("
93         "<<<<<<"
94         "======"
95         ">>>>>>"
96         "<<<<<<<"
97         "======="
98         ">>>>>>>"
99         "'["
100         "'{"
101         "'H{"
102         "'HS{"
103         "_"
104         "@"
105         "MACRO:"
106         "MEMO:"
107         "IDENTITY-MEMO:"
108         ":>"
109         "[|"
110         "[let"
111         "::"
112         "M::"
113         "MACRO::"
114         "MEMO::"
115         "IDENTITY-MEMO::"
116     } [ "syntax" create-word drop ] each
117
118     "t" "syntax" lookup-word define-symbol
119 ] with-compilation-unit