emojicode / emojicode

😀😜🔂 World’s only programming language that’s bursting with emojis

Home Page:https://emojicode.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

😀🔤I think the language would be great if its compiler works on Android and iOS🔤❗

0x61nas opened this issue · comments

⭐️ Proposed change

😀🔤I think the language would be great if its compiler works on Android and iOS because the experience of typing emoji in them is much better than on computers🔤❗

commented

I think you could compile the compiler for Android or iOS in principle. However, you would also need a static linker on-device to link the produced object file. Also, iOS does not allow the execution of unsigned code anyway, so you couldn't even run your Emojicode binaries.

There was a (3rd party) Emojicode Android app back when Emojicode still used its own VM but I don't know whether it was any popular. An online playground would also always be an option.

Um, after thinking, the issue seems difficult, especially since the language is not yet ready to develop a framework that makes the language capable of producing applications for mobile devices, but the solution of third-party applications may be enough for the time being, I will try to create solutions to this problem, and I will update you if it arrives for something useful 😀

commented

I do think Emojicode can be used to write a framework for mobile applications. I wrote a proof of concept that shows how to interface with Cocoa, the macOS UI framework a while ago. I've uploaded the most important files for inspiration here. Interfacing Cocoa Touch (iOS) should be possible the same way.

Would it be possible to compile Emojicode with Emscripten to make a WASM version that could compile/run programs in the browser?

commented

@rjstone @andrewvy worked on that some years ago.

I'd been trying to compile it in my Termux (on my Android) and then failed. cmake said that my llvm version doesn't meet the requirement. (The required version was 8, my llvm is 13.0.0)

I'm trying to remember how I got past that compiling locally. I think I had to apt-get install llvm-8. I'm not sure if that package exists on Termux, but I think that would be the name.