Commit Graph

261 Commits (265f19e9522b9688b12805e2d576816cd5904a7e)

Author SHA1 Message Date
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
John Benediktsson 5eec781b40 use ``if*`` instead of ``dup [ ] [ drop ] if``. 2015-07-20 22:24:30 -07:00
John Benediktsson bbde85f56b vocabs.loader: fix tests. 2015-07-20 21:11:16 -07:00
John Benediktsson 7327b8bdd4 vocabs.loader: make require-all throw restarts.
We only want to catch the restarts in mason, so make a special
load-no-restarts that will catch the failures and print them out
the same way it worked before.
2015-07-20 17:35:22 -07:00
Doug Coleman 5f8426cfbe factor: rename files that are not loadable on mac, too 2015-07-19 16:55:36 -07:00
John Benediktsson 3265f33b6b vocabs: fix help lint error. 2015-07-14 18:17:28 -07:00
John Benediktsson 94ed98e78c Use $sequence in a few places. 2015-07-14 15:57:18 -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
John Benediktsson 7ffd9db9c9 vocabs.parser: adding back unuse-words. 2015-06-22 16:32:22 -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 8744d66467 vocabs.parser: error on unbalanced private declarations. 2015-06-16 18:47:57 -07:00
John Benediktsson 54c4388a68 vocabs: remove little used words.
vocabs:vocab-name* => editors.private:public-vocab-name.
2015-06-11 20:04:44 -07:00
John Benediktsson f00c90bb63 vocabs.parser: cleanup update-manifest, make update-search-vocabs a little faster. 2015-06-09 10:29:44 -07:00
John Benediktsson d2716bbe6b vocabs.parser: make a "qualified-vocabs" word for re-use. 2015-06-09 09:58:49 -07:00
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -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 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
John Benediktsson 4c63b96f45 vocabs.parser: need this wrapper. 2014-11-03 06:45:53 -08:00
John Benediktsson f3a8546b23 core: get rid of some unnecessary wrappers. 2014-11-02 20:16:22 -08:00
Doug Coleman afcb610960 core: Throw an error when defining MAIN: with a stack effect other than ( -- ). Fixes #1060. 2014-06-06 10:59:48 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 88f163d28f vocabs: faster child-vocab?. 2014-02-06 20:49:29 -08:00
John Benediktsson d44cc17161 update docs for help.lint checks. 2013-08-24 11:39:31 -07:00
John Benediktsson da84d1ce21 vocabs.loader: use adjoin-all. 2013-03-23 22:07:08 -07:00
Doug Coleman efe355804a vocabs.loader: Fix undefined-word. 2013-03-23 21:42:10 -07:00
Doug Coleman b4acfa376a definitions: Separate definition definitions. 2013-03-23 16:34:33 -07:00
John Benediktsson b2ffa02fff Fix some tests broken by recent definitions change. 2013-03-10 20:22:18 -07:00
John Benediktsson c0c769a7d8 compiler.units: changing definitions-changed to use a set. 2013-03-10 09:11:18 -07:00
John Benediktsson f2d0752403 vocabs.parser: use hash-sets in search-vocab-names. 2013-03-08 10:09:41 -08:00
John Benediktsson 019080d82d vocabs: only notify vocab-observers if we are creating a new vocab. 2013-03-05 21:13:45 -08:00
John Benediktsson 5487480126 core: cleanup USING lists. 2013-03-05 10:34:47 -08:00
John Benediktsson 33c4e19ff9 vocabs: change vocabs-changed to be vocab-changed and take a vocab argument. 2012-08-13 12:05:42 -07:00
John Benediktsson 29f3043061 vocabs.loader: early exit for private vocab. 2012-08-13 11:11:59 -07:00
John Benediktsson e374f2fa19 vocabs: reverting recent private vocab changes. 2012-08-13 10:32:14 -07:00
John Benediktsson fc449d55bf vocabs.loader: adding tests for recent changes. 2012-08-10 15:15:38 -07:00
John Benediktsson fa57d3e85d vocabs.loader: simplify. 2012-08-10 15:11:42 -07:00
John Benediktsson 41ed793756 vocabs.loader: more private fixes. 2012-08-10 15:08:40 -07:00
John Benediktsson 344b89fe5f vocabs.loader: better fix for append-vocab-dir. 2012-08-10 15:01:37 -07:00
John Benediktsson 98f4ec7c43 vocabs.loader: vocab-dir should work with private vocabs too. 2012-08-10 14:43:59 -07:00
John Benediktsson b957ad1684 vocabs: make source/docs/tests work for private vocabs. 2012-08-10 14:39:53 -07:00
John Benediktsson 6077f2d6c6 Revert "vocabs.loader: teach append-vocab-dir about private vocabs."
This reverts commit 9b98c098c1.
2012-07-30 11:50:22 -07:00
John Benediktsson 42922cee81 vocabs.loader: teach append-vocab-dir about private vocabs. 2012-07-30 11:36:54 -07:00
John Benediktsson 4fe25c8fd2 vocabs.parser: speedup parse-datum for numbers. 2012-07-20 22:48:47 -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
John Benediktsson 28377f49e7 vocabs: faster check-vocab-name. 2012-07-15 14:21:25 -07:00
John Benediktsson 4f260ab9bd "H{ } substitute" is faster than "{ } substitute". 2012-07-13 19:06:38 -07:00