John Benediktsson
06d7e7116a
vocabs.hierarchy: some cleanup and minor speedups.
2012-07-15 15:48:39 -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
Doug Coleman
9df6d05a4e
Fix error reporting for load, reported by Recursed
2011-10-25 14:54:23 -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
Slava Pestov
531961f352
load-all now skips vocabs tagged 'not loaded', and test-all skips vocabs tagged 'not tested'
2010-04-13 18:43:33 -07:00
Daniel Ehrenberg
84d6cf5d7b
Maing vocabs.hierarchy use sets; modifying alias analysis's use of sets
2010-02-28 22:55:22 -05:00
Slava Pestov
7853427bd3
vocabs.hierarchy: fix load-all
2009-08-05 23:08:14 -05:00
Slava Pestov
1d3a31ceb2
vocabs.hierarchy: load word now tries to load the vocab named by the prefix itself
2009-08-05 23:04:34 -05:00
Slava Pestov
838d4dc055
vocabs.hierarchy: fix (load) word
2009-07-06 05:22:01 -05:00
Slava Pestov
04900a7fa1
vocabs.hierarchy: more refactoring, update existing code for new API
2009-07-06 04:55:23 -05:00
Slava Pestov
6d373b0475
vocabs.hierachy: redo with cleaner API
2009-07-06 04:23:26 -05:00
Slava Pestov
a776dffeb6
Split up tools.vocabs. Note that load-everything is now named load-all
2009-05-04 06:44:17 -05:00