Arc Forumnew | comments | leaders | submitlogin
Arc portability
4 points by dido 6144 days ago | 1 comment
I was wondering if it is possible to run the Arc code under something besides mzscheme. There appear to have been some attempts to make it run under Scheme48, and I'm not sure how well that is working out. I know that there are a few things, such as the networking code, that are not so portable, but how divergent from R^5RS or whatever Scheme standard is the core of Arc? Maybe I'll try running ac.scm under something like Guile or Scheme48 sometime and see how spectacular the breakage comes up. Has anyone else tried?


2 points by shiro 6144 days ago | link

The biggest obstacle would be the [] support. Current implementation relies on the readtable feature, which isn't very common among Scheme implementations. You can implement your own read function, which would be much more work than the current bracket.scm.

Other non-standard features include hashtables, threads and some system functions, but you can find them in most full-featuered implementations. (Except break-thread, whose semantics is not in pthread IIRC, so pthread-based thread system may have some difficulties.)

-----