Guidance on compiler construction? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Guidance on compiler construction?

Hello all I want to build an android compiler where i can build apps direct on mobile, no need computer. Is it possible? Please tell me about good resources on compiler construction and assembler. Thanks in advance.

12th Nov 2017, 10:08 AM
Bhavin Kundaliya
Bhavin Kundaliya - avatar
9 Answers
+ 17
can't speak about compiler construction. but if all you want to do is run ruby, python, c++ codes. then try termux. it can compile, run them all. it is possible to make Android apps on it ( it will be limited compared to desktop ). there's a dedicated website for that. check if that works for you. https://termux.com/ Termux https://sdrausty.github.io/buildAPKs/ Easily Build Android APKs on Device in Termux - sdrausty.guthub.io
12th Nov 2017, 11:16 AM
Lord Krishna
Lord Krishna - avatar
+ 16
the site (2nd link) is about creating android apps *on mobile*. unless by apps you mean desktop apps... about the compiler can't help there. research online you will get many useful resources.
12th Nov 2017, 2:05 PM
Lord Krishna
Lord Krishna - avatar
+ 4
Firstly yes it is probably possible, but it'd be advanced AF and take a long time to make. The problem isn't making the compiler of a language, at least not if you just use someone else's compiler, but rather doing the part that makes it into an app (Also if we're not talking Android there's probably no way to make it)
12th Nov 2017, 10:28 AM
Marcus Søndergaard
Marcus Søndergaard - avatar
+ 3
@Bhavin that exists (at least for Android) it's called AIDE
12th Nov 2017, 11:00 AM
Marcus Søndergaard
Marcus Søndergaard - avatar
+ 1
@Marcus Thanks
12th Nov 2017, 11:01 AM
Bhavin Kundaliya
Bhavin Kundaliya - avatar
0
Is it for having a project or because you need it?
12th Nov 2017, 10:36 AM
Marcus Søndergaard
Marcus Søndergaard - avatar
0
@Marcus I want a handy tool to develop apps. So anytime one can code and debug direct on device.
12th Nov 2017, 10:58 AM
Bhavin Kundaliya
Bhavin Kundaliya - avatar
0
Actually i want to develop apps direct on mobile device rather than computer. So i want to construct a compiler for android.
12th Nov 2017, 12:42 PM
Bhavin Kundaliya
Bhavin Kundaliya - avatar