PForth

Portable ANS-like Forth written in ANSI C
Download

PForth Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Phil Burk
  • Publisher web site:
  • http://code.google.com/u/@UBBTQ1VUBRhHXAJ+Eg==/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 210 KB

PForth Tags


PForth Description

Portable ANS-like Forth written in ANSI C PForth can be easily ported to new 32 and 64-bit platforms. PForth only needs character input and output functions to operate and, therefore, it does not require an operating system. This makes PForth handy for bringing up and testing embedded systems.PForth also works on desktops including Windows, Mac and Linux and supports command line history. This lets you develop hardware tests on a desktop before trying them on your embedded system. But pForth is not a rich and friendly desktop programming environment. There are no GUI tools for developing desktop applications. PForth is lean and mean and optimized for portability.PForth has a tool for compiling code on a desktop, then exporting the dictionary in big or little endian format as 'C' source code. This lets you compile tests for an embedded system that does not have file I/O.PForth is based on ANSI-Forth but is not 100% compatible. How to build and run: Unarchive, open a Terminal window, go into the PForth/build/unix/ folder and run the following commands from the command line:make./pforth What's New in This Release: · Fixed REPOSITION-FILE FILE-SIZE and FILE-POSITION. They used to use single precision offset. Now use double as specified. · Delete object directories in Makefile clean. · Fixed "Issue 4: Filehandle remains locked upon INCLUDE error". http://code.google.com/p/pforth/issues/detail?id=4&can=1 · Fixed scrambled HISTORY on 64-bit systems. Was using CELL+ but really needed 4 +. · Fixed floating point input. Now accepts "1E" as 1.0. Was Issue #2. · Fixed lots of warning and made code compatible with C89 and ANSI. Uses -pedantic. · Use fseek and ftell on WIN32 instead of fseeko and ftello. · Makefile is now more standard. Builds in same dir as Makefile. Uses CFLAGS etc. · Add support for console IO with _WATCOMC_ · Internal CStringToForth and ForthStringToC now take a destination size for safety. · Run units tests for CStringToForth and ForthStringToC if PF_UNIT_TESTS is defined.


PForth Related Software