Download List


4tH is a Forth compiler with a little difference. Instead of the standard Forth engine it features a conventional compiler. 4tH is a very small compiler that can create bytecode, C-embeddable bytecode, standalone executables, but also works fine as a scripting language. It supports about 95% of the ANS Forth CORE wordset and features conditional compilation, pipes, files, assertions, forward declarations, enumerations, structures, suspended execution, recursion, include files, etc. It comes with an RPN calculator, line editor, preprocessor, compiler, decompiler, C-source generator, a virtual machine, and a multitasking environment.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from page, and the downloads themselves may not be hosted on OSDN.

2010-03-23 17:07

The performance of several bytecodes was improved. 'AKA' was enhanced. 'FIELD:' was added. The preprocessor now supports blockfiles, parameters, ANS Forth structures, and 'SYNONYM'. The memory allocation and 'PARSE-NAME' libraries were rewritten. Several new libraries were added, including Soundex support and ARC4 and TEAN encryption. A TinyC interpreter was added to the examples.
標籤: Major feature enchancements

2009-12-29 04:11

Version numbering was changed. The words 'RANDOM' and 'MAX-RAND' have been removed. The word 'RSHIFT' now performs a logical shift. The library files now support several 'state of the art' random number generators, simple hashtables, associative arrays, and strpbrk() and strchr() like words. A tail call optimizer was added to the compiler. A small BASIC interpreter was added to the examples.
標籤: Minor feature enhancements

2009-09-07 00:40
3.5d release 3

The words '[/]' and '[SIGN]' have been added. The preprocessor was expanded and now takes the DIR4TH environment variable into account. The library files now support ANS Forth compatible versions of all floating point input and output words. The library file getenv.4th was rewritten. The library file row.4th was changed. A chapter on library dependencies was added to the manual.
標籤: Minor feature enhancements

2009-06-14 05:42
3.5d release 2

A preprocessor was added. The multitasking environment was rewritten. Several ANS floating point bugs were fixed. Another floating point environment, called Zen float, was added. The Linux version now supports shared libraries. More complex patches are supported. Various other additions and fixes were made to the libraries and examples.
標籤: Major feature enhancements

2009-05-03 23:25

Several bugs in the floating point library were fixed. The circular ring buffer library was rewritten. Many FSL and forth200x words were added to the library. The return value of "OPEN" was standardized. "AS" was removed. "ERROR?" and "BUFFER:" were added. The editor can now export text files. A classic "Startrek" program was added to the examples. New sections were added to the Development Guide.
標籤: Minor feature enhancements

Project Resources