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 |
Doug Coleman
|
031543fed3
|
delegate: Rename consult-method.
|
2013-03-23 16:51:34 -07:00 |
John Benediktsson
|
934b307ba2
|
make some predicates return t/f instead of something/f.
|
2012-07-29 10:52:46 -07:00 |
John Benediktsson
|
d1009d74f4
|
delegate: not sure why protocols can be defined with arrays, but...
|
2011-10-18 20:40:14 -07:00 |
John Benediktsson
|
faf556f971
|
delegate: verify generics on protocol definition. Fixes #260.
|
2011-10-18 16:31:15 -07:00 |
Doug Coleman
|
c14f217300
|
Fix delegate vocab for lookup-method change.
|
2011-10-03 16:42:24 -07:00 |
Doug Coleman
|
181f11faa8
|
Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229.
|
2011-10-03 15:49:49 -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 |
Joe Groff
|
8e36e0221d
|
words: move change-word-prop from delegate.private to words
|
2011-09-15 15:55:54 -07:00 |
Slava Pestov
|
4995d9153e
|
delegate: fix delegation to tuples with read only slots
|
2010-09-04 18:48:54 -07:00 |
Joe Groff
|
b5cc5ef4a7
|
classes.struct: implement "group-words" method on struct-class so that struct classes can be used as a CONSULT: protocol
|
2010-06-08 12:52:46 -07: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 |
Joe Groff
|
f6561f3c03
|
delegate: add BROADCAST: syntax, delegate generic with no outputs to an array of multiple delegates
|
2010-03-22 22:32:00 -07:00 |
Joe Groff
|
9bf5c76771
|
lexer: add "each-token" and "map-tokens", which are equivalent to "parse-token _ each/map" but incremental. update a smattering of parsing words (such as USING:, SYMBOLS:, etc.) to use each-token/map-tokens
|
2010-02-28 22:19:43 -08:00 |
Slava Pestov
|
7826543d2e
|
sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase
|
2010-02-25 20:54:57 +13:00 |
Slava Pestov
|
df55fed478
|
generic: rename method-body predicate class to method
|
2010-02-03 23:11:24 +13:00 |
Slava Pestov
|
ea60f8ae93
|
Changing : foo ; parsing to SYNTAX: foo ;
|
2009-03-21 01:27:50 -05:00 |
Slava Pestov
|
00f586fc33
|
Fix bootstrap: delegate cannot depend on locals since locals depends on delegate
|
2009-03-07 00:49:57 -06:00 |
Slava Pestov
|
bfb6b4642a
|
Consultations now implement the definition protocol; removing one from a source file forgets consulted methods
|
2009-03-07 00:42:43 -06:00 |
Slava Pestov
|
43e6a6987a
|
Fix circularity
|
2009-02-10 16:42:35 -06:00 |
Slava Pestov
|
54e4e8873a
|
delegate: add support for single-generic protocols, add failing unit test for bug
|
2009-02-09 00:25:33 -06:00 |
Slava Pestov
|
1221fb7d55
|
delegate: fix problem if source file was reloaded and a hand-written method definition was replaced by a consultation; also associate consultation-generated methods with the source file they're in
|
2009-02-06 02:43:21 -06:00 |
Slava Pestov
|
f6bc5c0b75
|
Clean up stack shuffling in basis/delegate/
|
2009-01-25 22:57:11 -06:00 |
Slava Pestov
|
21f81ab57d
|
Add new SLOT-PROTOCOL: word; shorthand for PROTOCOL: comprised for slot readers and writers
|
2009-01-16 16:39:24 -06:00 |
Slava Pestov
|
c5160d76e9
|
Merge qualified, alias, symbols, constants into core
|
2008-12-17 18:10:01 -06:00 |
Slava Pestov
|
10e3e84a5e
|
Remove listener dependency from delegate
|
2008-12-08 19:45:58 -06:00 |
Slava Pestov
|
52c5b53e27
|
Refactoring usages of >r, r>, -rot, rot
|
2008-11-30 22:21:37 -06:00 |
Slava Pestov
|
30f93f547f
|
generalizations and delegate no longer uses >r/r>
|
2008-11-25 16:47:47 -06:00 |
Slava Pestov
|
c19f2257f4
|
Fix permission bits
|
2008-10-02 08:34:49 -05:00 |
Doug Coleman
|
7bebe265af
|
remove extra IN:, use dip
|
2008-09-15 10:33:03 -05:00 |
Slava Pestov
|
44f53de164
|
Move make to its own vocabulary, remove fry _ feature
|
2008-09-10 20:07:00 -05:00 |
Slava Pestov
|
d66f887736
|
Create basis vocab root
|
2008-07-28 22:03:13 -05:00 |