Thanks for the solution, I don't think I should use it in math.matrices but 
maybe in some side projects :)

-------- Original Message --------
On February 9, 2018 10:39 AM, John Benediktsson <mrj...@gmail.com> wrote:

> I experimented with a kind of "include" feature once:
>
>     <PRIVATE
>     : (include) ( parsed name -- parsed )
>         [ file get path>> parent-directory ] dip
>         ".factor" append append-path parse-file append ;
>     PRIVATE>
>
>     SYNTAX: INCLUDE: scan-token (include) ;
>
>     SYNTAX: INCLUDING: ";" [ (include) ] each-token ;
>
> You can use it to parse another factor file in the same directory from inside 
> your vocabulary or -docs files.
>
> Unfortunately, it doesn't add the new file being parsed to the list of files 
> being monitored for changes with ``refresh-all`` so if you edit the words or 
> docs in those files they don't detect needing to be reloaded, you have to do 
> that manually.
>
> On Thu, Feb 8, 2018 at 5:44 PM, cat via Factor-talk 
> <factor-talk@lists.sourceforge.net> wrote:
>
>> By "second class source files" I mean -tests and -docs, mostly. These tests 
>> and documentation files can get very very long and unwieldy to scroll 
>> through and edit, especially when there are many words, many help articles 
>> and many tests.
>>
>> Is it possible to break up -docs and -tests files into separate source files 
>> while loading them normally as the same original vocabulary?
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Factor-talk mailing list
>> Factor-talk@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to