Doug Coleman
|
c4cd8991be
|
modern: Fix all the syntax errors.
Support ``{abc}foo{`` as a token name
Bug to fix:
! should error
[[M: error-class see-class*
<colon \ ERROR: pprint-word
{
[ pprint-word ]
[ superclass. ]
[ <block "slots" word-prop [ name>> pprint-slot-name ] each block> pprint-semi ]
[ tuple-declarations. ]
} cleave
block> ;]] string>literals >strings
|
2019-10-20 14:17:09 -05:00 |
Doug Coleman
|
7ca280aee6
|
factor: SYNTAX: \FOO:
|
2017-08-31 21:21:13 -05:00 |
John Benediktsson
|
fc467b72a5
|
functors: make sure to unuse functor-words, some cleanup.
|
2015-06-22 15:58:59 -07:00 |
Doug Coleman
|
5fab749dcc
|
words: Change word -> last-word, set-word -> set-last-word.
|
2013-03-23 16:12:03 -07:00 |
Doug Coleman
|
671f19d70f
|
Remove all non-core uses of (scan-token)
Add scan-datum
Add scan-number
Document more words
Fixes #225.
|
2011-10-02 12:00:08 -07:00 |
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
|
8a0525e5ce
|
Add a scan-token word which is like scan, except throws an error on EOF; document scan-object word; mention that scan-token/scan-object are preferred over scan/scan-word
|
2010-07-06 16:20:08 -04:00 |
Slava Pestov
|
4b76e2a61d
|
functors: make 'final' declarations work in functors
|
2010-02-18 03:56:41 +13:00 |
Joe Groff
|
7276fe44d7
|
refactor functors so that new functor syntax words can be added outside of functors vocab, and move STRUCT: functor syntax to classes.struct to break a circular dependency
|
2009-08-29 21:04:19 -05:00 |