I downloaded the Factor programming language for Mac. I can now launch the command factor
from the command line successfully. I read in a book covering this language (Seven More Languages in...) that, to run standalone programs I need to indicate the root paths from which Factor will search for vocabularies. I thus have to create a .factor-roots
file in my home directory indicating the full paths to the root directories where I have my Factor source files, one path per line. My factor folder is in the /Applications
folder. factor directory contains:
Factor.app git-id
README.md libfactor-ffi-test.dylib
basis libfactor.dylib
core license.txt
extra misc
factor work
factor.image
What should I exactly write in the .factor-roots
file, to make it work?
解决:我必须在.factor-roots
文件中写入我要编写独立程序的目录的路径,而不是Factor安装目录的路径。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.