Commit Graph

19 Commits (7897b142235518c8e9c83222ff1c1f43a83774ff)

Author SHA1 Message Date
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman c731dc6edb Rename lookup to lookup-word. 2011-11-06 16:00:00 -08:00
John Benediktsson 3582e9c168 More lint fixes. 2011-10-16 21:23:21 -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 ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov 11eff11fb7 Add silly optimization for 'new'; this will be removed when compiler improves 2009-04-01 02:53:30 -05:00
Slava Pestov 3885ba02a6 Fixing up smalltalk to the point where it can run fib, slowly 2009-04-01 02:47:51 -05:00
Slava Pestov 8ab7328899 Add new vocabs 2009-04-01 02:09:49 -05:00
Slava Pestov 0ff6678850 Load smalltalk.library by default and remove useless smalltalk.factor 2009-04-01 02:08:49 -05:00
Slava Pestov 9f01e819e8 smalltalk: fix various things in the parser, add temporary variable support, clean up compiler 2009-04-01 02:06:57 -05:00
Slava Pestov d0921b1d2d Smalltalk parser work in progress 2009-03-31 22:30:13 -05:00
Slava Pestov 15cb926afb smalltalk: Working on message cascade syntax 2009-03-31 21:23:09 -05:00
Slava Pestov 712b21b59e Fix printing of nested arrays 2009-03-31 01:37:05 -05:00
Slava Pestov 5b6948aaa5 smalltalk: working on lexical scoping for instance variables and class names 2009-03-31 01:24:38 -05:00
Slava Pestov 381dbb957c smalltalk: adding a small library, fix various bugs 2009-03-30 20:45:01 -05:00
Slava Pestov 00c9cde8e2 First checkin of extra/smalltalk 2009-03-30 05:31:50 -05:00