eerolanguage / eero

Eero was a fully binary- and header-compatible dialect of Objective-C, implemented with a modified version of the Apple-sponsored LLVM/clang open-source compiler. It featured a streamlined syntax, Python-like indentation, and other features that improve readability and code safety. It was inspired by languages such as Smalltalk, Python, and Ruby.
https://web.archive.org/web/20171101134337/http://eerolanguage.org/
288 stars 7 forks source link

Question: could this be cross-platform? #58

Open IngwiePhoenix opened 10 years ago

IngwiePhoenix commented 10 years ago

Hey!

I just found this project while I was seeking for a scripting language with an ObjC dialect. But obviously, the title states that this project uses Apple's LLVM compiler (clang port) etc. So just to ensure I am not having any false, I wanted to ask if this would ever be usable cross-platform (Linux, Windows).

Kind regards, Ingwie!

andyarvanitis commented 10 years ago

Hi! Yes, it actually already is, although there isn't any active work on it, as far as I know. Any platform that clang supports is technically supported (and clang supports many), but there is the caveat that an objective-c runtime must also be available. It's been a while, but at one point I ran some eero sample code on Debian Linux (using the gnustep runtime). Let me know if you end up trying it out anywhere!

IngwiePhoenix commented 10 years ago

hey!

Thank you for your reply :) I do in fact know an ultra-portable ObjC runtime called ObjFW. Not just is it very, very lightweight, but its confirmed to work under Clang and even GCC-ObjC - because, well, it just is an independent runtime. As a fun fact, it is being used to do ObjC stuff on PSP, PS3 and Wii (it kinda feels funny, but its awesome. :)). But now that I know this, I might as well be trying that out! Clang works on all the platforms tht I’d use eero on anyway (Windows, Debian, …).

Kind regards, Ingwie. Am 25.04.2014 um 04:03 schrieb Andy Arvanitis notifications@github.com:

Hi! Yes, it actually already is, although there isn't any active work on it, as far as I know. Any platform that clang supports is technically supported (and clang supports many), but there is the caveat that an objective-c runtime must also be available. It's been a while, but at one point I ran some eero sample code on Debian Linux (using the gnustep runtime). Let me know if you end up trying it out anywhere!

— Reply to this email directly or view it on GitHub.

andyarvanitis commented 10 years ago

Ah, yes, I am familiar with ObjFW, but never got around to trying it with eero. It should work fine with it. If you try it and run into problems, let me know (via an issue report). And if it works well with it, I'd be happy to hear about it too. Have fun!