Hi Christopher, Thanks for the feedback. If things go approximately as planned I'll be hacking at this over the next few weeks. You'll be hearing g from me.
thanks! gregg On May 27, 2016 5:15 PM, "Christopher Small" <metasoar...@gmail.com> wrote: > I imagine this should be possible, as long as JerryScript isn't missing > any features needed by the js code the cljs compiles to. I'd bet most code > would be fine, as long as it doesn't depend on OS features. So I would Just > Try It with a simple hello world app and see how complicated you can get > from there. > > I started a project that was trying to provide a microcontroller computing > API abstracting over the subtle differences between different targets > (BeagleBone, Pi, and Arduino over Firmata). The biggest issue with this is > that JVM Clojure is a sluggard to boot, and for some microcontroller units > too memory-hungry. And of course having to use Firmata with Arduino is a > major restriction. In talking with others about this, I thought that > targeting node would be a perfect solution for BeagleBone or Pi, but being > able to directly target Arduino (w/o Firmata) would be awesome :-) > > I haven't had any time for this project with other open source things on > my plate, but I'd be happy to provide guidance if you're interested in > working on implementations of this API targeted at Jerryscript. > > https://github.com/clj-bots/pin-ctrl > > Cheers :-) > > Chris > > > > > On Friday, May 27, 2016 at 9:33:17 AM UTC-7, Gregg Reynolds wrote: >> >> Hi folks, >> >> I just came across http://samsung.github.io/jerryscript/ , which Samsung >> apparently open-sourced last fall. Jerryscript is a bit of a misnomer, its >> not a language but a JS engine designed for IoT devices. Sorta like >> node.js only smaller, I guess. >> >> Seems to run on Zephyr on Arduino101 >> <https://lists.zephyrproject.org/archives/list/de...@lists.zephyrproject.org/message/ODCXJZDXZZVRKMO44LVZIUI4ZIL6KLJQ/>, >> believe it or not. >> >> If we can run JS on constrained IoT devices, then we ought to be able to >> write the code in Clojurescript, no? >> >> Anybody have any further info on this? I'm going to be looking at the >> Clojurescript source this weekend to try to get an idea of how hard it >> would be to target Jerryscript (or iot.js, which is a companion thing). >> Any advice/help would be appreciated. >> >> Thanks, >> >> Gregg >> > -- > 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/d/optout. > -- 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/d/optout.