Commit Graph

25 Commits (2ba006cd7174ad00bbdd651f2c9a312bf33e55a3)

Author SHA1 Message Date
John Benediktsson 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -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 13d6c6a698 Update code for alien.data changes 2010-12-26 02:08:57 -06:00
Doug Coleman 4ca9bd0bba Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Daniel Ehrenberg aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Joe Groff f3dd625de6 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Daniel Ehrenberg eb060443db Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Joe Groff bde65fe2d0 windows.com: update COM-INTERFACE: to parse incrementally 2010-02-28 19:30:15 -08:00
Joe Groff 4358edcae7 windows.com: typedef interface word to void* immediately so that self-referential pointers in the interface definition parse properly. fix a bug where pointer return values for interface methods couldn't parse 2010-02-25 16:39:30 -08:00
Joe Groff dcd76d2abe windows.com.syntax: don't put c-type words inside stack effect of Interface::Method words 2010-02-21 22:07:32 -08:00
Joe Groff f07ec8bc1b windows.com.syntax: parse return c-type of COM-INTERFACE: functions 2010-02-21 11:56:35 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman 7ce4b746e5 parsed -> suffix!, add append! 2009-10-28 13:38:27 -05:00
Joe Groff 4f82861bf3 update windows vocabs to load without c-type strings 2009-09-27 18:19:53 -05:00
Joe Groff 3b4330fcf6 get things to a point where they bootstrap again 2009-09-15 21:43:18 -05:00
Slava Pestov 3e6189fec1 windows.com: split off prettyprinting into windows.com.prettyprint 2009-09-04 22:00:23 -05:00
Doug Coleman 57673db7ca remove com-interface c-struct 2009-08-29 19:33:04 -05:00
Doug Coleman 135d56fcd2 fix com, prettyprinting of GUIDs 2009-08-29 19:18:39 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
U-SLAVA-DFB8FF805\Slava da9b38caae Fix Windows bootstrap 2008-12-03 06:52:16 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Slava Pestov a4ac751605 Starting to remove delegation 2008-08-22 23:20:49 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00