Arc Forumnew | comments | leaders | submitlogin
Loading and arc.sh
1 point by byronsalty 5884 days ago | 2 comments
So I have arc installed at /usr/local/arc, so that's on my path so I can just do:

  $ arc.sh /tmp/main.arc
Note I have to put in the full path to the arc file here otherwise if I just pass "main.arc" it will attempt to load from the directory where arc.sh is. I'm sure you all already know that.

Question is if I want to have two .arc files in /tmp say main.arc and helpers.arc, well do I need to do

  (load "/tmp/helpers.arc")
? Is there some way to 1) not put all my files in the same directory as the arc install and 2) load files with relative paths?


1 point by almkglor 5884 days ago | link

1) Use Arc-F

2) Use Arc-F

LOL.

You can try looking at the as.scm and arc files of Arc-F. Hmm. I can probably also push that modification onto Anarki.

-----

1 point by almkglor 5879 days ago | link

mod's done, you can now properly work with the above on Anarki.

-----