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 over 85% of the ANS Forth CORE wordset and features conditional compilation, pipes, files, assertions, forward declarations, recursion, include files, etc.
It comes with an RPN calculator, line editor, compiler, decompiler, C-source generators, and a virtual machine.
Product's homepage
What's New in This Release: [ read full changelog ]
· Specific code can be executed after a failed 'WHILE' just before exiting the loop.
· Binary strings can be tagged individually.
· The library files now support UTF-8 to GBK/2 conversion (and vice versa), infix formula translation, string pattern matching, finite state machines, statistical functions, enhanced command line parsing and the full range of ANS Forth floating point words for ZEN float.
· The preprocessor now supports string parsing with custom delimiters, macros within macros, and a string stack.
· A Markov engine and an infix-to-postfix converter were added to the examples.