4tH compiler Icon

4tH compiler

A Forth compiler with a little difference

Add a Review
48 Downloads (This Week)
Last Update:
Download 4th-3.62.3-unix.tar.gz
Browse All Files
Windows BSD Linux



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.

4tH compiler Web Site


  • Supports over 95% of the ANS-Forth CORE wordset
  • Easily embeddable in a C program
  • Integrates seamlessly with the Unix development environment
  • Comes with over 350 libraries
  • Over 550 A4 pages of documentation
  • Very capable preprocessor


Write a Review

User Reviews

Be the first to post a review of 4tH compiler!

Additional Project Details

Intended Audience


User Interface

Command-line, Console/Terminal

Programming Language

C, Forth


Screenshots can attract more users to your project.
Features can attract more users to your project.