Doug Coleman
|
7c7bb93c55
|
factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
|
2017-06-01 13:58:58 -05:00 |
Björn Lindqvist
|
073dc4686a
|
parser.tests: fix test that broke
|
2016-12-06 09:08:42 +01:00 |
Björn Lindqvist
|
1c53e43768
|
parser: new parsing word parse-array-def
The idea behind this word is that in many cases parsing to an array is
much more convenient than parsing to a quotation.
|
2016-12-03 12:56:47 +01:00 |
Doug Coleman
|
c133c16377
|
core: Trim using lists from -tests and clean up a few irregularities.
|
2016-03-30 18:43:41 -07:00 |
John Benediktsson
|
24d9e3a491
|
effects.parser: allow generic methods not in current vocabs.
|
2016-03-30 17:21:58 -07:00 |
John Benediktsson
|
0d1f9f9e01
|
parser: require an IN: for any word definitions (even generics).
|
2016-03-30 16:14:16 -07:00 |
John Benediktsson
|
59caf874a3
|
syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
|
2015-09-09 18:28:08 -07:00 |
John Benediktsson
|
46021e4d77
|
fix some generic tests.
|
2015-08-05 18:01:05 -07:00 |
Doug Coleman
|
1fcf96cada
|
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
|
2015-07-25 22:59:56 -07:00 |
Doug Coleman
|
117727d444
|
parser, source-files: you need to bootstrap after this patch.
cleans up some file vs path naming.
file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file
|
2015-07-23 22:03:43 -07:00 |
Doug Coleman
|
43d6f1d3e2
|
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
|
2015-07-02 17:28:17 -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 |
Björn Lindqvist
|
4d47b826bf
|
parser: added helper word use-first-word? to simplify no-word
|
2015-06-09 13:02:03 +02:00 |
Doug Coleman
|
6e60c811ac
|
core: Rename create to create-word, create-in to create-word-in.
|
2015-06-08 12:47:35 -07:00 |
John Benediktsson
|
2b7d53b7d1
|
parser: add invalid-word-name, use it to check for redefining quotes.
|
2013-04-25 15:41:20 -07:00 |
Doug Coleman
|
31e1fe54e3
|
core/extra tests: Fix word -> last-word
|
2013-03-24 01:11:54 -07:00 |
John Benediktsson
|
b2ffa02fff
|
Fix some tests broken by recent definitions change.
|
2013-03-10 20:22:18 -07:00 |
John Benediktsson
|
07fc23697b
|
parser: fix tests for hash-set change.
|
2013-03-08 14:57:21 -08:00 |
Doug Coleman
|
f448405c31
|
parser: Drunk coding is buzzed coding.
|
2012-06-21 17:35:24 -07:00 |
Doug Coleman
|
cab93dea04
|
parser: last fix.
|
2012-06-21 14:18:55 -07:00 |
Joe Groff
|
2cf8b32bda
|
lexer: skip #! as a single token at front of line
Fixes #370
|
2011-11-27 14:59:54 -08:00 |
Joe Groff
|
72de75b881
|
let's pretend BIN: HEX: OCT: never happened
|
2011-11-23 19:22:37 -08:00 |
Doug Coleman
|
c731dc6edb
|
Rename lookup to lookup-word.
|
2011-11-06 16:00:00 -08:00 |
Doug Coleman
|
51c033a1f6
|
Fix all failures in the linux64 build email
|
2011-10-24 19:33:09 -07:00 |
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
|
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
|
cac139297d
|
parser: update unit test
|
2010-07-08 15:41:28 -04:00 |
Slava Pestov
|
a566d8cc6b
|
lexer: each-token and map-tokens did not handle EOF properly
|
2010-03-26 03:42:07 -04:00 |
Slava Pestov
|
31ccfa2e5d
|
Fix unit test failures
|
2010-02-18 04:58:30 +13:00 |
Doug Coleman
|
bd13e018dd
|
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
|
2009-10-28 15:02:00 -05:00 |
Slava Pestov
|
a213db05db
|
parser: remove outdated unit tests that were superseded by tests in vocabs.parser
|
2009-07-18 11:35:09 -05:00 |
Slava Pestov
|
9cc178b738
|
If a vocab fails to load, manifest would be left in a weird state (reported by Joe Groff)
|
2009-05-22 01:59:50 -05:00 |
Slava Pestov
|
9c239694bf
|
Update unit tests for parser note and lazy list changes
|
2009-05-16 13:41:11 -05:00 |
Slava Pestov
|
90560d3959
|
Better presentation for ambiguous-use-error, fix ui.tools.listener now that 'search' can throw, make USE: and UNUSE: ignore dupes
|
2009-05-16 09:34:42 -05:00 |
Slava Pestov
|
66a9416473
|
Update documentation for stricter vocabulary search path semantics
|
2009-05-16 00:29:21 -05:00 |
Slava Pestov
|
0c1e519dcb
|
Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist
|
2009-05-13 22:15:48 -05:00 |
Slava Pestov
|
3353a777f7
|
Fixing some unit test failures
|
2009-04-22 07:05:00 -05:00 |
Slava Pestov
|
05f3f9dcb9
|
Fixing unit tests for stack effect inference changes
|
2009-04-20 21:15:19 -05:00 |
Doug Coleman
|
7a1841f59b
|
(( -- )) eval -> eval( -- )
|
2009-04-17 15:49:21 -05:00 |
Doug Coleman
|
aad6a3d504
|
fixing compiler error in core
|
2009-04-17 12:45:57 -05:00 |
Slava Pestov
|
7adb76aaf4
|
Factor out some compiler error code into source-files.errors
|
2009-04-09 04:50:38 -05:00 |
Slava Pestov
|
723bfab030
|
Fixing unit tests for syntax change
|
2009-03-23 00:34:02 -05:00 |
Slava Pestov
|
ea60f8ae93
|
Changing : foo ; parsing to SYNTAX: foo ;
|
2009-03-21 01:27:50 -05:00 |
Slava Pestov
|
be4fb1e7d9
|
Move call( and execute( to core
|
2009-03-16 20:11:36 -05:00 |
Slava Pestov
|
1fab364299
|
Updating some unit tests
|
2009-03-16 00:05:43 -05: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
|
e4a0396550
|
Add parse-quotation hook to parser which locals overrides. '[ and [ use this hook. Fixes locals bug reported by erg
|
2009-03-06 19:48:04 -06:00 |
Slava Pestov
|
6b99b04531
|
Add vocab: for vocab-relative paths
|
2009-02-15 19:53:21 -06:00 |
Slava Pestov
|
5fdb474c76
|
Fixing various test failures and updating some more vocabs for >r/r> removal
|
2008-12-17 22:29:32 -06:00 |