Commit Graph

6 Commits (19cd3c1faedb2c7dc2c8c2e6ea39f90c194c8be3)

Author SHA1 Message Date
John Benediktsson 70a594133f make some predicates return t/f instead of something/f. 2012-07-29 10:52:46 -07:00
Slava Pestov bd6f7495ae variants: update for recent slots change 2011-11-12 22:40:55 -08:00
Doug Coleman 55d6dc14b0 Missed yet more renames 2011-10-24 17:00:09 -07:00
Doug Coleman 300138eb4d 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 ef21a8c61a 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 915d753d99 variants vocab for ADTs 2009-06-26 16:31:20 -05:00