Doug Coleman
02008979d9
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
2015-08-12 15:26:18 -05:00
John Benediktsson
5eec781b40
use ``if*`` instead of ``dup [ ] [ drop ] if``.
2015-07-20 22:24:30 -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
John Benediktsson
da84d1ce21
vocabs.loader: use adjoin-all.
2013-03-23 22:07:08 -07: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
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
4f260ab9bd
"H{ } substitute" is faster than "{ } substitute".
2012-07-13 19:06:38 -07:00
Doug Coleman
3ba787b277
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
Joe Groff
5a66b3b329
rearrange source-file-error error. to load earlier
...
Fixes #359
2011-11-15 18:26:35 -08:00
Doug Coleman
f6353e17cd
Make the require-hook throw an error if the vocabulary does not exist in the dictionary or on disk. Move require docs to vocabs. Add unit tests for require. Fixes #339 .
2011-11-03 11:39:34 -07:00
Doug Coleman
7699fb92b1
vocabs.loader: Fix spacing. Remove unit test.
2011-11-02 19:30:54 -07:00
Doug Coleman
1eed9203bb
Rename (load-vocab) to (require), add tags.txt for "p" vocab loader test. Code formatting.
2011-11-02 18:07:22 -07:00
Doug Coleman
fb44adef99
Clean up formatting, rename load-vocab-hook to require-hook. Add a unit test for vocabs.loader.
2011-11-02 16:31:42 -07:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
Doug Coleman
aa7f22edc0
Cleanup vocab name validation. Vocab names and vocab prefixes are the same concept, and by disallowing slashes, spaces, and colon, we automatically check for absolute paths. Unit test this.
2011-10-29 01:05:37 -07:00
John Benediktsson
ea4fe562c3
vocabs.loader: actually use the root cache.
2011-10-24 16:19:59 -07:00
Doug Coleman
26872ffe4d
Rename vocab to lookup-vocab
2011-10-24 06:42:54 -05:00
Doug Coleman
2ecd513130
Factor out ``no-roots no-prefixes'' into its own word. Add load-root, load-from-root, vocabs-in-root and implement load in terms of load-from-root.
...
Add error checking for append-vocab-dir and (child-vocabs) in case someone tries to pass them the wrong parameters.
Rename: vocab-dir+ to append-vocab-dir
Document load-from-root and load-root
2011-10-23 19:59:01 -05:00
Doug Coleman
3b11e2d6aa
Normalize vocabulary roots by removing the last path separator so that scaffold tool works with trailing separators
2010-06-21 13:06:09 -05:00
Slava Pestov
f78bbb865e
vocabs.refresh.monitor: spin off new monitor threads when add-vocab-root is called. Fixes a problem where depending on the order of startup hooks, refresh-all would sometimes be broken for custom vocab roots
2010-05-31 20:14:54 -04:00
Daniel Ehrenberg
c5530080c4
Fixing issue where require-when could create a circularity
2010-04-21 00:40:40 -05:00
Daniel Ehrenberg
26c3bf2611
Adding docs on null? and the changes for require-when
2010-04-18 14:44:52 -05:00
Daniel Ehrenberg
099ffa1f5e
Fixing require-when
2010-04-18 14:08:21 -05:00
Daniel Ehrenberg
00176e7bd1
Attempting to make require-when work with multiple vocabs
2010-04-17 17:19:37 -05:00
Daniel Ehrenberg
9e602d213f
Renaming require-if to require-when
2010-03-18 00:24:41 -04:00
Daniel Ehrenberg
043578ca1d
require-if loads vocabs conditionally, now or later
2010-03-18 00:00:32 -04:00
Slava Pestov
2ab1be755c
vocabs.loader: tweak platform checking logic
2010-02-22 13:17:46 +13:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Joe Groff
e70fcf159d
Revert "fix append-path and vocab-dir to use path-separator"
...
This reverts commit 0f3026b871
.
2010-02-17 16:06:45 -08:00
Joe Groff
f26460450e
Revert "vocabs.loader: make vocab-dir+ use path-separator too"
...
This reverts commit 2dcc720629
.
2010-02-17 16:05:59 -08:00
Joe Groff
27cfeec43a
vocabs.loader: make vocab-dir+ use path-separator too
2010-02-16 19:29:42 -08:00
Joe Groff
4a182cfbad
fix append-path and vocab-dir to use path-separator
2010-02-16 18:40:40 -08:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Slava Pestov
d227fcd33f
Move compiler.errors to basis
2009-04-13 02:18:41 -05:00
Slava Pestov
c4be8bd65a
Refactor error code so that error types are registered; listener prints a summary of errors
2009-04-12 16:08:46 -05:00
Slava Pestov
786475102d
Make more code infer
2009-03-17 02:19:50 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
6b99b04531
Add vocab: for vocab-relative paths
2009-02-15 19:53:21 -06:00
Slava Pestov
4204fd495f
Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size
2009-01-13 17:12:43 -06:00
Slava Pestov
50e214c152
io.files split up and general refactoring work in progress
2008-12-14 20:03:00 -06:00
Slava Pestov
ccab34e7c4
Fix restart behavior with circular vocabs, and add a test for this
2008-12-09 04:50:33 -06:00
Slava Pestov
a558f91d5d
Better command-line processing
2008-12-01 16:10:48 -06:00