Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #27392 > unrolled thread

Forth for Android ( LeoForth)

Started byjosv@planet.nl
First post2013-12-21 06:48 -0800
Last post2013-12-22 19:04 +0100
Articles 4 — 3 participants

Back to article view | Back to comp.lang.forth


Contents

  Forth for Android ( LeoForth) josv@planet.nl - 2013-12-21 06:48 -0800
    Re: Forth for Android ( LeoForth) Bernd Paysan <bernd.paysan@gmx.de> - 2013-12-21 17:32 +0100
      Re: Forth for Android ( LeoForth) Hans Bezemer <the.beez.speaks@gmail.com> - 2013-12-22 16:10 +0100
        Re: Forth for Android ( LeoForth) Bernd Paysan <bernd.paysan@gmx.de> - 2013-12-22 19:04 +0100

#27392 — Forth for Android ( LeoForth)

Fromjosv@planet.nl
Date2013-12-21 06:48 -0800
SubjectForth for Android ( LeoForth)
Message-ID<1edc1a1e-b5d3-46fc-a9b4-534b3cf50ce7@googlegroups.com>
Hi,

I Just found a small Forth interpreter/compiler.
It is implemented on top of the Android JVM
It's not DPANS-84, but nice to play with it on an android device.
A program like: 

: x 1 dup cr . 10000 0 
   do 1 + 
   loop cr . ;
x

takes some time, but works...

The Link to the playstore is:
https://play.google.com/store/apps/details?id=it.interfree.leonardoce.leoforthads

More examples would be nice.

Jos

[toc] | [next] | [standalone]


#27394

FromBernd Paysan <bernd.paysan@gmx.de>
Date2013-12-21 17:32 +0100
Message-ID<l94fq8$u6$1@online.de>
In reply to#27392
josv@planet.nl wrote:

> Hi,
> 
> I Just found a small Forth interpreter/compiler.
> It is implemented on top of the Android JVM
> It's not DPANS-84, but nice to play with it on an android device.
> A program like:
> 
> : x 1 dup cr . 10000 0
>    do 1 +
>    loop cr . ;
> x
> 
> takes some time, but works...
> 
> The Link to the playstore is:
> 
https://play.google.com/store/apps/details?id=it.interfree.leonardoce.leoforthads
> 
> More examples would be nice.

Or you download Gforth, which is Forth200x, and a program like the above 
takes next to no time (<0.2ms on my Galaxy Note 2)...

https://play.google.com/store/apps/details?id=gnu.gforth

Examples for Android stuff are found in /sdcard/gforth/site-forth, otherwise 
you can simply use Gforth's tutorial to start:

http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Tutorial.html

The stuff there works with the exception of the command line examples - it's 
an Android app, there's no command line.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

[toc] | [prev] | [next] | [standalone]


#27397

FromHans Bezemer <the.beez.speaks@gmail.com>
Date2013-12-22 16:10 +0100
Message-ID<52b700d4$0$2834$e4fe514c@news2.news.xs4all.nl>
In reply to#27394
> josv@planet.nl wrote:
Or you download 4tH for Android. It requires ATE (Android Terminal
Emulator), which is FOSS (and free of course). You can find that one at the
Play store.

It will consequently do the command line stuff as well.

Hans Bezemer
 

[toc] | [prev] | [next] | [standalone]


#27398

FromBernd Paysan <bernd.paysan@gmx.de>
Date2013-12-22 19:04 +0100
Message-ID<l979k4$du7$1@online.de>
In reply to#27397
Hans Bezemer wrote:

>> josv@planet.nl wrote:
> Or you download 4tH for Android. It requires ATE (Android Terminal
> Emulator), which is FOSS (and free of course). You can find that one at
> the Play store.
> 
> It will consequently do the command line stuff as well.

I started that way, too, but you can't access many Android features that way 
- no camera, no OpenGL, no JNI calls to Dalvik.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.forth


csiph-web