I like version controlling my code. It would be a pain to copy every Factor file from my git over to Factor's work directory and back.
Does Factor have an import command that works like Ruby's require
, one that looks in the current directory for source code?
It's easy enough to write a macro that does this. Add the following to
~/.factor-rc
:Which you can use like this (see Rosetta Code).