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, BASIC interpreter, line editor, preprocessor, compiler, decompiler, C-source generator, a virtual machine, and a multitasking environment.

Features

  • 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 500 libraries
  • Over 600 A4 pages of documentation
  • Very capable preprocessor
  • Turbo C and GCC like frontends

Project Samples

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow 4tH compiler

4tH compiler Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

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

Additional Project Details

Operating Systems

MS-DOS, Linux, BSD, Windows

Intended Audience

Developers

User Interface

Console/Terminal, Command-line

Programming Language

C, Forth

Related Categories

C Code Generators, C Compilers, C Libraries, C RPN Calculators, C Decompilers, Forth Code Generators, Forth Compilers, Forth Libraries, Forth RPN Calculators, Forth Decompilers

Registered

2013-09-25