John Benediktsson
ecbf94e56d
vocabs.loader: use adjoin-all.
2013-03-23 22:07:08 -07:00
John Benediktsson
85cf41e26a
vocabs: change vocabs-changed to be vocab-changed and take a vocab argument.
2012-08-13 12:05:42 -07:00
John Benediktsson
3c046fe12a
vocabs.loader: early exit for private vocab.
2012-08-13 11:11:59 -07:00
John Benediktsson
7b3febb4de
vocabs: reverting recent private vocab changes.
2012-08-13 10:32:14 -07:00
John Benediktsson
40bb77c915
vocabs.loader: simplify.
2012-08-10 15:11:42 -07:00
John Benediktsson
537de726ec
vocabs.loader: more private fixes.
2012-08-10 15:08:40 -07:00
John Benediktsson
b9bfd1db40
vocabs.loader: better fix for append-vocab-dir.
2012-08-10 15:01:37 -07:00
John Benediktsson
5ba78ff6b8
vocabs.loader: vocab-dir should work with private vocabs too.
2012-08-10 14:43:59 -07:00
John Benediktsson
b4825a249d
vocabs: make source/docs/tests work for private vocabs.
2012-08-10 14:39:53 -07:00
John Benediktsson
397b4a36dd
Revert "vocabs.loader: teach append-vocab-dir about private vocabs."
...
This reverts commit 9b98c098c1 .
2012-07-30 11:50:22 -07:00
John Benediktsson
9b98c098c1
vocabs.loader: teach append-vocab-dir about private vocabs.
2012-07-30 11:36:54 -07:00
John Benediktsson
d38a3fc44a
"H{ } substitute" is faster than "{ } substitute".
2012-07-13 19:06:38 -07:00
Doug Coleman
c3dcf43e03
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
Joe Groff
0f876e93b6
rearrange source-file-error error. to load earlier
...
Fixes #359
2011-11-15 18:26:35 -08:00
Doug Coleman
43c5c9162e
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
201109937e
vocabs.loader: Fix spacing. Remove unit test.
2011-11-02 19:30:54 -07:00
Doug Coleman
484836be3a
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
86974b11a2
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
be12f2b27d
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
323ee6f53e
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
7b177d6237
vocabs.loader: actually use the root cache.
2011-10-24 16:19:59 -07:00
Doug Coleman
a7f6982354
Rename vocab to lookup-vocab
2011-10-24 06:42:54 -05:00
Doug Coleman
c66849384e
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
b45ed7a048
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
1a6e5324c7
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
2fa116980f
Fixing issue where require-when could create a circularity
2010-04-21 00:40:40 -05:00
Daniel Ehrenberg
daebac5f52
Adding docs on null? and the changes for require-when
2010-04-18 14:44:52 -05:00
Daniel Ehrenberg
7cdb543dd5
Fixing require-when
2010-04-18 14:08:21 -05:00
Daniel Ehrenberg
ab0bd7b88f
Attempting to make require-when work with multiple vocabs
2010-04-17 17:19:37 -05:00
Daniel Ehrenberg
88a4c58cda
Renaming require-if to require-when
2010-03-18 00:24:41 -04:00
Daniel Ehrenberg
df1fce9bba
require-if loads vocabs conditionally, now or later
2010-03-18 00:00:32 -04:00
Slava Pestov
7d90469666
vocabs.loader: tweak platform checking logic
2010-02-22 13:17:46 +13:00
Slava Pestov
0aad3e6e12
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
8e1a81f8d5
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
de7bafbf47
Revert "vocabs.loader: make vocab-dir+ use path-separator too"
...
This reverts commit 2dcc720629 .
2010-02-17 16:05:59 -08:00
Joe Groff
2dcc720629
vocabs.loader: make vocab-dir+ use path-separator too
2010-02-16 19:29:42 -08:00
Joe Groff
0f3026b871
fix append-path and vocab-dir to use path-separator
2010-02-16 18:40:40 -08:00
Doug Coleman
8da9d0f203
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
Slava Pestov
c2c07f8b22
Fix bootstrap
2008-11-23 00:24:36 -06:00
Slava Pestov
7c61cf190f
Circularity between vocabularies no longer causes an infinite loop; loading a vocabulary like json or furnace no longer loads certain files twice
2008-11-23 00:04:18 -06:00
Slava Pestov
f29300c6ba
Better error message when vocab top level forms leave crap on the stack
2008-11-16 19:47:52 -06:00