Squircle-CE
Squircle-CE copied to clipboard
Compiler
It would be great to be able to compile and run the code
@Lawrencium04 you can easily do it with api such as Judge0 that is even free, ofc you have daily limits but it has more languages than this ide supports
@Lawrencium04 you can easily do it with api such as Judge0 that is even free, ofc you have daily limits but it has more languages than this ide supports
I'm pretty sure you can find a way to implement it
@Lawrencium04 you can easily do it with api such as Judge0 that is even free, ofc you have daily limits but it has more languages than this ide supports
I'm pretty sure you can find a way to implement it
It would be expenssive for him to host it, there is no way he will do this. I suggest you look at api-s such as judge0 since they are pretty simple to use. 20 lines of code tops
@devfoFikiCar It wouldn't take much time to integrate with judge because they have pretty good API & docs, but I prefer running code on the device - and there's no any offline API like judge.
@Lawrencium04 I could implement the compiler for each language, but the reason that I didn't is the APK size. Since the compiler for each language takes few MB that's a huge problem to me - people don't like to download large apk files, neither do I.
Right now the only way of implementing the compiler that I see - is to use dynamic feature modules, so people could download the compiler as a separate module for their programming language.
That sounds perfect but there's another issue with it - what to do with F-Droid users that don't have Google Play? I guess they'll have to download an .apk with all of the modules included, which is not seems cool to me ☹️
@massivemadness yea, I said it easy to integrate it but it would be expensive for you to host it yourself or to pay them, I do not really see a way other than to use some api like judge or what I would do it I was writing your project is use sl4a.
Integration with Termux could prove useful for this.