3 ms·
Point 1 & 3 are nice enough to convince me to try it out, but I kind of miss the bracey syntax. Is the backend of the compiler outputting C or native assembly?
by sspiff 13y ago
Point 1 & 3 are nice enough to convince me to try it out, but I kind of miss the bracey syntax.
Is the backend of the compiler outputting C or native assembly? Is there a way to use Dylan on ARM/Linux?
- BruceM 13y agoThe compiler has multiple backends. The "HARP" backend outputs native code for x86-linux, x86-freebsd and x86-windows. The C backend outputs C and works on x86_64-linux, x86_64-freebsd and Mac OS X. We have an in-progress LLVM backend that will support all of the above platforms and more. As for ARM/Linux, we have a port in progress for the C backend. In theory, it should work after a cross-compile or using cross-compilation tools, but we haven't quite tried it out yet ourselves (the person doing the port is getting married this weekend and going away for a couple of weeks). If you would like to help out with Dylan on ARM/Linux, drop by #dylan on FreeNode IRC and I'll work with you. (The hack-a-thon this weekend is a great time for that.) Otherwise, we plan to have this in the 2013.2 release (whenever that is).
- sspiff 13y agoI would love to help, and I'm really interested in compiler development etc, but I have the habit of promising to help out and concluding that I don't have the time to follow through. I might have a few weeks between projects in August, and if so, I'll try to see if I can help out (but no promises! ;)) I'll definitely join #dylan tomorrow though!
- rayiner 13y agoThere are two backends, including a C backend. Porting to a UNIX-y platform is pretty easy as I recall. I think I had it running on OS X/PPC after a week of fiddling.
- BruceM 13y agoIt has all gotten easier since then. :) I've also written most of a porting guide in our Hacker's Guide as well: http://opendylan.org/documentation/hacker-guide/porting.html http://opendylan.org/documentation/hacker-guide/porting.html