C-Forth: Difference between revisions
mNo edit summary |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
An OS/2 port of Allan Pratt's portable [[Forth]] interpreter for DOS that featured a basic interpreted core written in C and the rest of the tool written in Forth. It is often known as '''Portable Forth''' especially on DOS and OS/2, but that name should be avoided since it name wise clashes with ''Portable Forth Environment''. It is a fairly slow implementation and although the porter announced that he would add OS/2 specific features they never showed up so not a lot to recommend it over and above the original 1985 [[DOS]] version. | |||
An OS/2 port of Allan Pratt's portable | |||
often known as | |||
On the other hand, at 20k in total it is tiny and still offers the usual Forth interpreter functions like execution tracing, single-stepping through instructions, breakpoint detection and breakpoint stack dumping. It also has a couple of small neat touches that not all Forth implementations have such as saving and automatic restoration environment. | On the other hand, at 20k in total it is tiny and still offers the usual Forth interpreter functions like execution tracing, single-stepping through instructions, breakpoint detection and breakpoint stack dumping. It also has a couple of small neat touches that not all Forth implementations have such as saving and automatic restoration environment. | ||
Line 7: | Line 5: | ||
==Version== | ==Version== | ||
* [ftp://hobbes.nmsu.edu/pub/os2/dev/forth/forth.zip v1] - 1994 | * [ftp://hobbes.nmsu.edu/pub/os2/dev/forth/forth.zip v1] - 1994 | ||
====Prerequisites==== | |||
* OS/2 2.0 or higher | |||
==Author== | ==Author== | ||
Line 15: | Line 16: | ||
* Open/Closed source. The original DOS version is open source with the code in the [[public domain]], however Kent Cedola who ported it to OS/2 did not publish his changes, but since they appear to be absolutely minimal (no OS/2 specific features) you could probably recreate it fairly easily. | * Open/Closed source. The original DOS version is open source with the code in the [[public domain]], however Kent Cedola who ported it to OS/2 did not publish his changes, but since they appear to be absolutely minimal (no OS/2 specific features) you could probably recreate it fairly easily. | ||
[[Category:Forth interpreter]] |
Latest revision as of 14:11, 29 March 2020
An OS/2 port of Allan Pratt's portable Forth interpreter for DOS that featured a basic interpreted core written in C and the rest of the tool written in Forth. It is often known as Portable Forth especially on DOS and OS/2, but that name should be avoided since it name wise clashes with Portable Forth Environment. It is a fairly slow implementation and although the porter announced that he would add OS/2 specific features they never showed up so not a lot to recommend it over and above the original 1985 DOS version.
On the other hand, at 20k in total it is tiny and still offers the usual Forth interpreter functions like execution tracing, single-stepping through instructions, breakpoint detection and breakpoint stack dumping. It also has a couple of small neat touches that not all Forth implementations have such as saving and automatic restoration environment.
Version
- v1 - 1994
Prerequisites
- OS/2 2.0 or higher
Author
- Allan Pratt (Original author)
- Kent Cedola (OS/2 port)
License
- Open/Closed source. The original DOS version is open source with the code in the public domain, however Kent Cedola who ported it to OS/2 did not publish his changes, but since they appear to be absolutely minimal (no OS/2 specific features) you could probably recreate it fairly easily.