Re: [Factor-talk] Call a Factor program from Node.js

2015-12-21 Thread John Benediktsson
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  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


[Factor-talk] Call a Factor program from Node.js

2015-12-21 Thread Steve Tsai
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