Hacker News new | past | comments | ask | show | jobs | submit login

How hard is it to extend 'foreign' to other languages besides C/C++? If this is possible, a guide for doing so would be invaluable. It would be awesome if there was a lisp that could compile directly to LLVM using native objectiveC libraries on iOS. VERY cool work, thanks for sharing!



That was part of my original intention. The reason 'foreign' takes C as its first argument in the examples is so I could eventually add support for binding mangled C++ functions mangled through Clang/GCC (Which luckily use the same mangling scheme).


> It would be awesome if there was a lisp that could compile directly to LLVM using native objectiveC libraries on iOS.

You might be interested in http://programming.nu/


for Lisp on iOS & Android see https://wukix.com/mocl

intro talk (at Bay Area Lisp Revival): https://wukix.com/mocl-balisp8


I still remember when you guys initially posted this on HN a couple of months ago. I found it interesting though one dominant criticism was that your site does not deliver enough information about the product to form an informed decision. Especially not given the steep price. I've played with NU, I've played with Clozure, I've played (a bit) with ClojureC, but they all felt half-finished or I couldn't get into them. Mocl still sounds kinda good, but your site looks just like it looked a couple of months ago, no information on why exactly I should spend that much money, or how it performs in comparison to other solutions etc.

I think it would be great if you could put way more code and docs there.


You may want to check out the sample code on our Github, https://github.com/Wukix, which wasn't available at launch. Working on adding more. Appreciate the feedback!


Thanks! Will look into it.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: