Commit Graph

167 Commits (eb1bcf642c1d6ee5ec7ad98187d0082e899c78fc)

Author SHA1 Message Date
Doug Coleman 200b5192ed factor: commit weekend work. 2017-09-11 16:37:47 -05:00
Doug Coleman 6ef39d8b6e factor: Removing /* */ and fixing up using lists. 2017-08-31 21:21:14 -05:00
Doug Coleman 3aa096e2e5 docs: Update docs. 2017-08-31 21:21:14 -05:00
Doug Coleman 2551028f98 factor: Fixing postpone: etc in docs 2017-08-31 21:21:14 -05:00
Doug Coleman 5507c2b676 factor: [let to let[, [| to |[ 2017-08-31 21:21:13 -05:00
Doug Coleman 147ae66ab5 factor: SYNTAX: \foo 2017-08-31 21:21:13 -05:00
Doug Coleman c436f6dbad factor: char: postpone: color: hexcolor: flexhexcolor: decimal: 2017-08-31 21:21:13 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
John Benediktsson ca51f43b3f locals: modify examples to use new "--- Data stack:" output. 2017-05-05 08:41:52 -07:00
John Benediktsson 8453582484 Revert "locals.parser: remove << >> from tests to see if it works now."
This reverts commit 7c24c671b0.
2017-01-08 18:10:32 -08:00
John Benediktsson 7c24c671b0 locals.parser: remove << >> from tests to see if it works now. 2017-01-08 14:52:55 -08:00
John Benediktsson dffdd36694 locals.parser: use with-variables instead of with-scope. 2016-12-05 16:00:37 -08:00
John Benediktsson 21985232a2 locals.parser: maybe we can use unuse-words. 2016-12-05 15:56:30 -08:00
John Benediktsson 3c4d232d58 locals.parser: fix docs. 2016-04-28 18:36:39 -07:00
Doug Coleman 41209a3a42 summary.txt: Delete empty lines and empty files. 2016-03-30 22:11:51 -07:00
John Benediktsson 51bafaeda4 locals.parser: move parse-binding to functors. 2016-03-15 10:34:07 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson e45e669fd6 locals.parser: change docs for with-lambda-scope. 2015-08-24 10:21:35 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
John Benediktsson ec7afb3ea6 locals.prettyprint: remove "|" as a symbol. 2015-08-04 19:04:47 -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
John Benediktsson 5eec781b40 use ``if*`` instead of ``dup [ ] [ drop ] if``. 2015-07-20 22:24:30 -07:00
John Benediktsson 507dac7599 locals.parser: don't clone the manifest, just pop used words.
It seems the manifest gets cloned on restarts, which makes unuse-words
not work since it just checks ``eq?``. If we pop the last qualified
vocabs, then everything works.
2015-07-20 17:35:22 -07:00
John Benediktsson a08926653d locals.parser: fix bug where auto-use restarts weren't working properly. 2015-07-19 19:18:47 -07:00
John Benediktsson 242d18d95e locals: use a test tuple instead of a slice. 2015-07-16 15:34:36 -07:00
John Benediktsson 8a3c5c2634 Fix some tests broken by optimized? rename. 2015-07-15 11:47:03 -07:00
John Benediktsson c9561e4f28 locals.parser: fix tests for now so we get clean builds. 2015-07-08 11:27:20 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 44e8e7b344 primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
Use PRIMITIVE: in core/ and basis/
2015-06-25 18:02:03 -07:00
John Benediktsson 8325837b84 locals.parser: fix help-lint warning. 2015-06-22 18:42:16 -07:00
John Benediktsson e69d0a7b45 locals.parser: only need to clone manifest. 2015-06-22 15:59:15 -07:00
Björn Lindqvist d32b9f9c90 locals.parser: docs for with-lambda-scope and some random doc additions 2015-06-22 11:15:48 +02:00
Björn Lindqvist 976961bfbd locals.parser: new word with-lambda-scope to handle lexical variables
better, fixes #1338

By cloning the relevant parts of the manifest, you ensure that the
quotation with-lambda-scope runs can't "leak" local names in case of
restartable errors.
2015-06-22 11:15:47 +02:00
John Benediktsson 72c95895e7 locals.parser: use qualified-vocabs. 2015-06-09 09:59:19 -07:00
Björn Lindqvist c2290aa141 locals.parser.tests: fixing the tcs so they work 2015-06-09 13:02:03 +02:00
Björn Lindqvist 92868fe778 locals.parser: fix for #1340, write locals directly to the manifest
The locals parser used to parse and store locals in the 'locals'
variable which was an alias to 'manifest get qualified-vocabs>> last
words>>'. For some reason, after a restart they become distinct
objects. An easy fix is to not alias the hash in the first place.
2015-06-09 13:02:03 +02:00
Björn Lindqvist 8ef135bc2f locals.types: stub unit tests 2015-06-09 13:02:03 +02:00
Björn Lindqvist 48138d548a locals.parser: small refactorings and unit tests 2015-06-09 13:02:03 +02:00
John Benediktsson 04a7a793d6 locals.parser: check for valid locals names. 2013-03-20 09:48:55 -07:00
Doug Coleman d33dc194ca core: in-definition -> with-definition. 2012-08-24 16:07:31 -07:00
Doug Coleman b06b6a8261 core: rename in-word-definition to in-definition 2012-08-24 16:04:49 -07:00
Doug Coleman 84402ccf7e core: Don't allow nested defintions in :, ::, M:, M::. Fixes #469. 2012-08-24 15:53:45 -07:00
John Benediktsson 559b5bfa5b using the new H{ } make. 2012-07-19 09:50:09 -07:00
Doug Coleman 42f4dc36b2 namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
Doug Coleman f0b6494c76 memoize: implement identity memoize, trim using lists so bootstrap continues to work 2011-11-30 14:41:32 -08:00