pForth Home  | GoogleCode | Tutorial | Reference | FAQ

pForth - Portable Forth in 'C'

Translations to Français by Antoine Billiau, or Chinese by Letoh

PForth is a  public domain, portable ANS Forth based on a kernel written in ANSI 'C'. This makes it easy to port pForth to multiple platforms. So far, pForth has run on Macs, PCs, SUNs, Amigas, Linux, BeOS, Nokia Communicator, SGI Indys, 3DO ARM systems, 3DO PowerPC systems, WebTV systems, Hitachi SH4, OpenTV prototypes, Compaq Ipaq 3970, Sharp LH79520 ARM processor, Ciena Systems networking hardware, and some internal projects at Lucent. If you build pForth for an embedded system, please let me know and I will add your machine to the list of machines that pForth has run on.

7/20/08 PForth source has been put on Google Code so we can collaborate easier.

Latest update: V23 on 7/20/08 as a Google Code project

PForth was developed by Phil Burk. Phil Burk is available as a contractor for pForth classes, application development, or porting pForth to new platforms.

PForth is provided free of charge to the Forth community. But if you are using pForth for commercial purposes, then you may wish to support the future development of pForth by making a donation of any amount by credit card.

PForth Features

  • ANS standard support for Core, Core Extensions, File-Access, Floating-Point, Locals, Programming-Tools, Strings word sets.
  • Compiles from simple ANSI 'C' code with no special pre-processing needed. Also compiles under C++.
  • INCLUDE reads source from normal files, not BLOCKs.
  • Precompiled dictionaries can be saved and reloaded.
  • Custom 'C' code can be easily linked with pForth.
  • Handy words like ANEW  INCLUDE? SEE  WORDS.LIKE  FILE?
  • Single Step Debugger
  • Smart conditionals.  10 0 DO I . LOOP works in outer interpreter.
  • Conditional compilation.  [IF]   [ELSE]   [THEN]
  • Local variables using { }
  • 'C' like structure defining words.
  • Vectored execution using DEFER
  • Can be compiled without any stdlib calls for embedded systems. Only needs custom KEY and EMIT equivalents in 'C'.

Download pForth

Versions of pForth are available for UNIX, PC and Macintosh. For embedded systems, download the version of your host machine and tweak the Makefiles.

You can download pForth directly here!

pForth Documentation

pForth Links

To report bugs, or to ask pForth specific questions, send e-mail to Phil Burk.
Phil Burk is available as a contractor for pForth classes, application development, or porting pForth to new platforms.

Legal Stuff

Copyright 1994-7 3DO, Phil Burk, Larry Polansky, David Rosenboom

The pForth software code is dedicated to the public domain, and any third party may reproduce, distribute and modify the pForth software code or any derivative works thereof without any compensation or license. The pForth software code is provided on an "as is" basis without any warranty of any kind, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose and their equivalents under the laws of any jurisdiction.

 

© 1997-2008 Mobileer Inc All Rights Reserved