(or the slightly hackier but probably easier version: create a tool that translates a subset of Clojure to RPython)
On Friday, May 31, 2013 10:26:56 AM UTC+8, Dax Fohl wrote: > > So what I'm gathering (I'm still trying to grok) is that clojure-metal is > an approach that somewhat parallels PyPy, except in Clojure, and except > that instead of defining a type-inferrable subset RClojure, you instead > define an internal DSL via mjolnir that allows you to specify the types > within Clojure? But unlike RPython which can run as a CPython program > without any special handling, the mjolnir DSL is only intended to be run as > a bytecode generator. Is that about right? I'm wondering, if the > intention is to parallel PyPy, but use Clojure instead, would a more > generic thing to do be to start with PyPy toolchain, but abstract it so > that the input is not RPython, but rather any type-inferrable language and > a corresponding AST generator, and make it so that PyPy is no longer > Python-specific at all? (Well except the toolchain code would still be > python, but that's just an implementation detail). So from that toolchain > it'd be possible to define RuRu, CloClo, maybe dynamic MLML or CC, or of > course cross-version CloML or RuC? Or is the PyPy toolchain still too > specific to "Python-like" languages that it'd produce something suboptimal > for Clojure and other languages? >> >> -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.