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


Groups > comp.lang.forth > #27394

Re: Forth for Android ( LeoForth)

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Forth for Android ( LeoForth)
Date 2013-12-21 17:32 +0100
Organization 1&1 Internet AG
Message-ID <l94fq8$u6$1@online.de> (permalink)
References <1edc1a1e-b5d3-46fc-a9b4-534b3cf50ce7@googlegroups.com>

Show all headers | View raw


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/

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web