Commit Graph

7 Commits (c0c54d891933ee593f2580c3d602a77da13aefe1)

Author SHA1 Message Date
John Benediktsson c8feb479cb variants: simplify M\ variant-class initial-value*. 2014-11-30 09:07:11 -08:00
John Benediktsson 934b307ba2 make some predicates return t/f instead of something/f. 2012-07-29 10:52:46 -07:00
Slava Pestov 8783dda864 variants: update for recent slots change 2011-11-12 22:40:55 -08:00
Doug Coleman 763d9a3f7d Missed yet more renames 2011-10-24 17:00:09 -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
Doug Coleman 1a8e09116b Allow variants to be spread across multiple parsing words with a VARIANT-MEMBER: word. Fix typo in docs 2010-07-09 13:32:08 -05:00
Joe Groff 7a88c5ae8a variants vocab for ADTs 2009-06-26 16:31:20 -05:00