You can run a Factor program from the command-line using:

    ./factor -run=vocab-to-run

or

    ./factor -e=code-to-run

or use deploy to make a binary that you can run.

I assume there is machinery to run command line programs in NodeJS, maybe 
something like this:

    http://stackoverflow.com/questions/14458508/node-js-shell-command-execution

Anyway, I'm not sure if you are looking for better integration like embedding 
Factor into NodeJS or vice versa which is possible but would take some work. 




> On Dec 21, 2015, at 8:04 PM, Steve Tsai <tsa...@familysearch.org> wrote:
> 
> Can anyone show up how to call a Factor program from Node?
> 
> Thanks,
> Steve
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to