Re: Compiling on Android

Pascal Bourguignon <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>

> On 13 Dec 2017, at 02:37, Bruno Haible <[email protected]> wrote:
> 
> Hi Jean Louis,
> 
>> I would like to be able to compile CLISP on Android. It would require some
>> changes like /bin/sh to be definable and not hard coded.
>> 
>> Anybody compiled it on Android?
> 
> No. not as far as I know.
> 
> It's not only about compiling it. You would also need to rethink the I/O system
> (no stdin, stdout), provide bindings to the (huge) set of Android APIs, and
> integrate with the toolchain that produces APKs.
> 
> And what would be the point? How would this help making Android more free [1]
> (less surveillant, less controlled by Google) within a reasonable time frame?

Android applications can also run external processes (contrarily to iOS). 
So an Android application could fork a clisp process, and communicate with it.
The kernel is Linux, so there is definitely stdin and stdout and everything.


Then of course, there’s the eventual possibility of compiling clisp as a library to be linked with the Android applications and used thru JNI.
You wouldn’t implement the UI in lisp. 

-- 
__Pascal J. Bourguignon__

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.