Re: SISC Scheme on Android's Dalvik VM

"Scott G. Miller" <[email protected]> Mon, 8 Feb 2010 10:30:53 -0600
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
--===============7066077585231003834==
Content-Type: multipart/alternative; boundary=0016e68ea0202ff5ac047f1953bb

--0016e68ea0202ff5ac047f1953bb
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Feb 7, 2010 at 10:32 AM, Chad Albers <[email protected]> wrote:

> Yes, since I surprisingly managed to instantiate an Java class on android,
> I do really think it would be possible to get at the android.* classes if I
> managed to embed SISC inside an android app.
>
> What I'm very confused about is how that is even possible. SISC's s2j
> module is depends on the ASM java bytecode libary.  But Davilk using dex
> bytecode.  I'd have to figure out when SISC is using the ASM libraries, and
> somehow make it work with dex bytecode instead - a non-trivial task.  I'm
> not aware of any libraries out there that actually enables the generation of
> dex bytecode.  If anyone has any information or advice on this issue, I
> would greatly appreciate it.
>
>
s2j doesn't yet depend much on ASM.  That was in progress code to allow
extension of classes (something you can't do at runtime in Java without
compiler support).  So you should be able to avoid ASM for this.

Scott


> Chad
>
> --
> Chad Albers
> http://www.neomantic.com
> (pgp signature available on request)
>
>
> On Sun, Feb 7, 2010 at 10:38 AM, Friedrich Delgado Friedrichs <
> [email protected]> wrote:
>
>> Hi!
>>
>> Chad Albers schrieb:
>> > If anyone is interested, I managed to get SISC to partially work on
>> > Android's Dalvik VM.  Here's how:
>> >
>> > http://www.neomantic.com/tutorials/sisc-scheme-on-androids-dalvik-vm
>> ---Zitatende---
>>
>> That was an interesting read, thanks!
>>
>> It would be nice to have a scheme interpreter with full access to the
>> android api, and your findings look like that's not impossible :)
>>
>> --
>>        Friedrich Delgado Friedrichs <[email protected]>
>>                             TauPan on Ircnet and Freenode ;)
>>
>>
>> ------------------------------------------------------------------------------
>> The Planet: dedicated and managed hosting, cloud storage, colocation
>> Stay online with enterprise data centers and the best network in the
>> business
>> Choose flexible plans and management services without long-term contracts
>> Personal 24x7 support from experience hosting pros just a phone call away.
>> http://p.sf.net/sfu/theplanet-com
>> _______________________________________________
>> Sisc-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sisc-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the
> business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Sisc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisc-users
>
>

--0016e68ea0202ff5ac047f1953bb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Sun, Feb 7, 2010 at 10:32 AM, Chad Albers <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wrot=
e:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Yes, since I surprisingly managed to instantiate an Java class on android, =
I do really think it would be possible to get at the android.* classes if I=
 managed to embed SISC inside an android app. =A0<div><br></div><div>What I=
&#39;m very confused about is how that is even possible. SISC&#39;s s2j mod=
ule is depends on the ASM java bytecode libary. =A0But Davilk using dex byt=
ecode. =A0I&#39;d have to figure out when SISC is using the ASM libraries, =
and somehow make it work with dex bytecode instead=A0- a non-trivial task. =
=A0I&#39;m not aware of any libraries out there that actually enables the g=
eneration of dex bytecode. =A0If anyone has any information or advice on th=
is issue, I would greatly appreciate it.<div>

<div><div><br></div></div></div></div></blockquote><div><br></div><div>s2j =
doesn&#39;t yet depend much on ASM. =A0That was in progress code to allow e=
xtension of classes (something you can&#39;t do at runtime in Java without =
compiler support). =A0So you should be able to avoid ASM for this.</div>
<div><br></div><div>Scott</div><div>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;=
"><div><div><div><div></div><div>Chad</div><div><br></div><div><div class=
=3D"im">
--<br>Chad Albers<br><a href=3D"http://www.neomantic.com" target=3D"_blank"=
>http://www.neomantic.com</a><br>(pgp signature available on request)<br>
<br><br></div><div class=3D"gmail_quote"><div><div></div><div class=3D"h5">=
On Sun, Feb 7, 2010 at 10:38 AM, Friedrich Delgado Friedrichs <span dir=3D"=
ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">friedel@n=
omaden.org</a>&gt;</span> wrote:<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class=3D"h5=
">
Hi!<br>
<br>
Chad Albers schrieb:<br>
<div>&gt; If anyone is interested, I managed to get SISC to partially work =
on<br>
&gt; Android&#39;s Dalvik VM. =A0Here&#39;s how:<br>
&gt;<br>
&gt; <a href=3D"http://www.neomantic.com/tutorials/sisc-scheme-on-androids-=
dalvik-vm" target=3D"_blank">http://www.neomantic.com/tutorials/sisc-scheme=
-on-androids-dalvik-vm</a><br>
</div>---Zitatende---<br>
<br>
That was an interesting read, thanks!<br>
<br>
It would be nice to have a scheme interpreter with full access to the<br>
android api, and your findings look like that&#39;s not impossible :)<br>
<font color=3D"#888888"><br>
--<br>
 =A0 =A0 =A0 =A0Friedrich Delgado Friedrichs &lt;<a href=3D"mailto:friedel@=
nomaden.org" target=3D"_blank">[email protected]</a>&gt;<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 TauPan on Ircnet a=
nd Freenode ;)<br>
</font><br></div></div>----------------------------------------------------=
--------------------------<br>
The Planet: dedicated and managed hosting, cloud storage, colocation<br>
Stay online with enterprise data centers and the best network in the busine=
ss<br>
Choose flexible plans and management services without long-term contracts<b=
r>
Personal 24x7 support from experience hosting pros just a phone call away.<=
br>
<a href=3D"http://p.sf.net/sfu/theplanet-com" target=3D"_blank">http://p.sf=
.net/sfu/theplanet-com</a><br>_____________________________________________=
__<br>
Sisc-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Sisc-=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/sisc-users" target=
=3D"_blank">https://lists.sourceforge.net/lists/listinfo/sisc-users</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>-----------------------------------------------------------------------=
-------<br>
The Planet: dedicated and managed hosting, cloud storage, colocation<br>
Stay online with enterprise data centers and the best network in the busine=
ss<br>
Choose flexible plans and management services without long-term contracts<b=
r>
Personal 24x7 support from experience hosting pros just a phone call away.<=
br>
<a href=3D"http://p.sf.net/sfu/theplanet-com" target=3D"_blank">http://p.sf=
.net/sfu/theplanet-com</a><br>_____________________________________________=
__<br>
Sisc-users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
forge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/sisc-users" target=
=3D"_blank">https://lists.sourceforge.net/lists/listinfo/sisc-users</a><br>=
<br></blockquote></div>

--0016e68ea0202ff5ac047f1953bb--


--===============7066077585231003834==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
--===============7066077585231003834==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sisc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisc-users

--===============7066077585231003834==--