| I removed some libraries dependencies, so I think the hackinator (http://awwx.ws/hackinator) should now "just work" on Mac OSX without anything else needing to be installed. If someone who has a Mac could try it out and let me know, that would be great. I'm also trying out loading Scheme modules. If you have a hack with a ".ss" extension, it will be loaded as a module with (require (file ...)). As an example, here's a copy of akkartik's port of the Scheme JSON parser: $ hack ycombinator.com/arc/arc3.1.tar \
awwx.ws/ac0.hack \
awwx.ws/akkartik/json0.hack
/tmp/yfdts7XZW_
ycombinator.com/arc/arc3.1.tar
awwx.ws/ac0.hack
ac0.patch
ac0.arc
awwx.ws/akkartik/json0.hack
packrat0.ss
json0.ss
json0.arc
mzscheme -m -f as.scm
Use (quit) to quit, (tl) to return here after an interrupt.
arc> (fromstring "[1,2,3]" (json-read (stdin)))
(1 2 3)
but what's awkward about this is that I say that if you publish a new version of a patch or library you should use a new URL (like "foo-3.1.0.arc"); but MzScheme requires that a module have the same name as the name of the file that it's implemented in. This means that to publish a new version of a scheme module, you'd need to go in and change the module name. So I'm not sure if this is the right approach. |