Commit Graph

35 Commits (dadff2f062dbb72e66eab24cc6e155b6f56fdff2)

Author SHA1 Message Date
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Doug Coleman 658149c321 smalltalk.parser: cleaner grammar (?) 2016-03-30 10:16:15 -07:00
Doug Coleman e4df1c8503 smalltalk: Clean up grammar and fix a bug with underscores in identifiers. 2016-03-30 10:16:15 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
John Benediktsson 5eec781b40 use ``if*`` instead of ``dup [ ] [ drop ] if``. 2015-07-20 22:24:30 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson d68175f48f Some more general fixes for recent refactors. 2015-06-08 19:15:29 -07:00
Doug Coleman a4c5a748ad core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise. 2015-06-08 12:47:35 -07:00
John Benediktsson 94cc259ba2 smalltalk.parser: make sure to escape \ 2015-04-20 08:02:04 -07:00
John Benediktsson f00b8c8e55 Revert "Clean up smalltalk grammar"
This reverts commit 578bb98f21.
2012-05-04 18:20:04 -07:00
Slava Pestov 491bb6aa4c Clean up smalltalk grammar 2012-05-04 17:23:32 -07:00
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