Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor
[factor/jcg.git] / core / bootstrap / syntax.factor
blob654a8f5f3468b61f29b1b3b4b601350b9ec43081
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 IN: bootstrap.syntax
6 "syntax" create-vocab drop
9     "!"
10     "\""
11     "#!"
12     "("
13     "(("
14     ":"
15     ";"
16     "<PRIVATE"
17     "BIN:"
18     "B{"
19     "C:"
20     "CHAR:"
21     "DEFER:"
22     "ERROR:"
23     "FORGET:"
24     "GENERIC#"
25     "GENERIC:"
26     "HEX:"
27     "HOOK:"
28     "H{"
29     "IN:"
30     "INSTANCE:"
31     "M:"
32     "MAIN:"
33     "MATH:"
34     "MIXIN:"
35     "OCT:"
36     "P\""
37     "POSTPONE:"
38     "PREDICATE:"
39     "PRIMITIVE:"
40     "PRIVATE>"
41     "SBUF\""
42     "SINGLETON:"
43     "SINGLETONS:"
44     "SYMBOL:"
45     "SYMBOLS:"
46     "CONSTANT:"
47     "TUPLE:"
48     "SLOT:"
49     "T{"
50     "UNION:"
51     "INTERSECTION:"
52     "USE:"
53     "USING:"
54     "QUALIFIED:"
55     "QUALIFIED-WITH:"
56     "FROM:"
57     "EXCLUDE:"
58     "RENAME:"
59     "ALIAS:"
60     "V{"
61     "W{"
62     "["
63     "\\"
64     "]"
65     "delimiter"
66     "f"
67     "flushable"
68     "foldable"
69     "inline"
70     "recursive"
71     "parsing"
72     "t"
73     "{"
74     "}"
75     "CS{"
76     "<<"
77     ">>"
78     "call-next-method"
79     "initial:"
80     "read-only"
81 } [ "syntax" create drop ] each
83 "t" "syntax" lookup define-symbol