dvdkhlng at gmx.de
Sat Jul 31 12:36:34 EDT 2010
the state of the Gforth port has matured in the last days. Interpreter
startup time got down to 0.2 seconds (it now boots from an image that is
created during installation).
Up-to-date .ipkg package can be grabbed from
Shared libraries symbols can be used from within Gforth using open-lib
and lib-sym. I created a simple call-wrapper that allows doing C ABI
library calls (using Forth's integrated assembler). This I used to
create a simple Linux frame buffer library, plus a demonstration program
that draws a Mandelbrot fractal.
Forth source code is available here:
Just put the 4 *.fs source files onto the nanonote, and run gforth like
to draw a mandelbrot fracal. A screenshot is here:
No need to use a cross compiler for nanonote hacking :)
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the discussion