Commit Graph

81 Commits (0d059e0f1976f9dcdb7365059b315dd80aa22ef6)

Author SHA1 Message Date
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
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
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 7887515d00 Fix stack effects of load-source, load-docs so that stack isn't filled up with crap in stage2 2008-09-13 21:23:25 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Slava Pestov 680e028ccb Remove blank line 2008-09-04 16:56:24 -05:00
Doug Coleman 9695df7fbd fix loader bug i introduced 2008-08-30 21:01:54 -05:00
Doug Coleman 5122e137d4 bug i introduced -- reload was leaving a vocab object on stack 2008-08-30 15:21:14 -05:00
Doug Coleman e5bec5bbb8 clean up vocab loader a bit 2008-08-30 13:31:00 -05:00
Slava Pestov a8560f0f57 Don't store f in vocab root cache 2008-08-25 02:09:45 -05:00
Slava Pestov f5c15481fe Move io.styles to basis 2008-07-28 22:28:13 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00
Slava Pestov 17b94261c5 Fix deploy tests 2008-07-02 21:52:28 -05:00
Slava Pestov 537269447c Move mirrors out of the boot image 2008-07-02 00:20:01 -05:00
Slava Pestov 9dd5c9919f Mandatory stack effect annotations 2008-06-08 15:32:55 -05:00
Eduardo Cavazos aa40350aa7 replace add* and add with prefix and suffix 2008-03-31 18:18:05 -06:00
erg 15c68a23f8 remove ?resource-path and resource-exists? 2008-03-26 23:47:51 -05:00
Slava Pestov 3664f7af1b Fix loader regression 2008-03-20 17:58:35 -05:00
Doug Coleman d0b348591a path+, prepend 2008-03-19 19:15:43 -05:00
Slava Pestov 3591ed402d Simplify vocab.loader even further 2008-03-19 14:39:08 -05:00
Slava Pestov da7f10804a Refactor vocab loader 2008-03-18 20:27:09 -05:00
Slava Pestov 3cddca95ae Simply core: don't call directory? and file-modified until after bootstrap 2008-03-13 04:54:33 -05:00
Slava Pestov 8399336648 tools.vocabs absorbs some words from tools.browser and vocabs.loader 2008-03-12 19:55:06 -05:00