Doug Coleman
|
76580da5d5
|
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
|
2011-09-29 11:28:28 -07:00 |
Slava Pestov
|
01824d41be
|
Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final
|
2010-02-18 02:19:57 +13:00 |
Slava Pestov
|
4f68808a72
|
Rename predicate-word to create-predicate-word and add a new predicate-word word
|
2010-01-30 09:28:55 +13:00 |
Doug Coleman
|
bbf0a8d266
|
fix stack effect
|
2009-05-28 12:28:52 -05:00 |
Slava Pestov
|
b31fe9b8f2
|
Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab
|
2009-05-14 22:31:29 -05:00 |
Slava Pestov
|
6e0d35e615
|
Split up huge parser vocabulary
|
2008-06-25 03:25:08 -05:00 |