Commit Graph

47 Commits (e880095da34f15d1257da37ec6bc80e245409cfe)

Author SHA1 Message Date
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
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
John Benediktsson 46df742317 vocabs: adding 'parent-vocab?' and 'parent-vocabs'. 2011-09-25 18:32:03 -07: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 043578ca1d require-if loads vocabs conditionally, now or later 2010-03-18 00:00:32 -04:00
Slava Pestov 50f5c3d116 remq -> remove-eq, delq -> remove-eq! 2009-10-28 00:23:08 -05:00
Slava Pestov b31fe9b8f2 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov 0b9212a2d6 Oops 2009-05-01 08:21:31 -05:00
Slava Pestov b79245dc6c Adding and removing vocabs now updates all-vocabs-seq 2009-05-01 07:21:56 -05:00
Slava Pestov 6c0986f8b2 Add definition mixin in definitions vocab to replace hard-coded union in ui.tools.operations; add ?execute to kernel to replace dup word? [ execute ] when calls in unicode.breaks and opengl 2009-03-26 21:27:45 -05:00
Slava Pestov 7741d2ca23 - definitions.icons now has a reference article
- move about to help.vocabs; it now opens the vocab browser instead
- help.vocabs is in default use list
- add runnable-vocab predicate class
2009-03-24 09:11:45 -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 7780c5d983 Fix two small typos 2009-01-27 05:05:46 -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 c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 0c304b8fc6 Removing old accessor usages from core and basis 2008-08-31 07:45:33 -05:00
Slava Pestov dea3604264 Remove some usages of deprecated features 2008-06-30 05:22:05 -05:00
Slava Pestov c60baf1232 sift and harvest words added 2008-05-13 23:36:55 -05:00
Doug Coleman 15402ed1b4 core changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:12:44 -05:00
Doug Coleman 30b75a797a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:09 -05:00
Slava Pestov 5346e1899f Working on call-next-method, and identity-tuple 2008-04-02 21:27:49 -05:00
Eduardo Cavazos aa40350aa7 replace add* and add with prefix and suffix 2008-03-31 18:18:05 -06:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Slava Pestov 3664f7af1b Fix loader regression 2008-03-20 17:58:35 -05:00
Doug Coleman 7513cd774b Merge branch 'master' of git://factorcode.org/git/factor 2008-03-20 16:01:47 -05:00
Slava Pestov 02727576c2 New slots are now in the core 2008-03-20 15:30:59 -05:00
Doug Coleman 936bd26a3a update core/ to use ERROR: 2008-03-20 15:00:49 -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 e933cf97fe Add $vocab-subsection 2008-03-04 22:46:01 -06:00
Slava Pestov 9660a9c2d6 Another fix 2008-02-17 17:08:52 -06:00
Slava Pestov 4daa1943d8 Fixing unit tests 2008-02-11 14:19:47 -06:00
Slava Pestov 262e9d3443 Clean up vocabs.loader and add littledan's unit test feature 2008-02-10 23:03:54 -06:00
Doug Coleman 376644794c more lint cleanups 2008-01-13 08:29:04 -10:00
Slava Pestov c8360f5ae5 Rename curry* to with 2008-01-09 17:36:30 -05:00
Slava Pestov ed29e2e5aa Notify definition-observers when words are forgotten 2008-01-09 17:51:55 -04:00
Slava Pestov 487abce510 Loading a vocab updates the browser if appropriate 2008-01-09 14:41:58 -04:00
Slava Pestov 3b311d3cb7 definition observers; move with-compilation-unit and related support to compiler.units 2008-01-09 04:52:08 -05:00
Slava Pestov 52ae410cc5 Removing USE-IF:, add with-interactive-vocabs, other fixes 2007-12-28 21:45:16 -05:00
Slava Pestov 6814e07f49 Unit test fixes 2007-12-24 19:40:09 -05:00
Slava Pestov 41fc4ea84e forget-vocab and forget-source now call with-compilation-unit 2007-12-24 17:32:41 -05:00
Slava Pestov c64c2e8df8 Use forget-all in forget-vocab 2007-10-09 17:41:35 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00