Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
0x61nas opened this issue Jan 2, 2022 · 7 comments

Comments

@0x61nas
Copy link

0x61nas commented Jan 2, 2022

⭐️ 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🔤❗

@0x61nas 0x61nas changed the title 😀🔤I think the language would be great if its compiler works on Android and iOS🔤 😀🔤I think the language would be great if its compiler works on Android and iOS🔤❗ Jan 4, 2022
@thbwd
Copy link
Member

thbwd commented Jan 6, 2022

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.

@0x61nas
Copy link
Author

0x61nas commented Jan 6, 2022

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 😀

@thbwd
Copy link
Member

thbwd commented Jan 7, 2022

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.

@joeskeen
Copy link
Contributor

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

@thbwd
Copy link
Member

thbwd commented Jan 18, 2022

@rjstone @andrewvy worked on that some years ago.

@sls1005
Copy link

sls1005 commented Feb 6, 2022

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)

@joeskeen
Copy link
Contributor

joeskeen commented Feb 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants