Delta Forth .NET



Click here for larger image

Environment: .NET Framework, Visual Studio .NET

From CodeGuru.com: This article reads like an advertisement; however, because I believe many of you will find this tool interesting and because source code is provided, I have chosen to post it.

Delta Forth .NET - World's first Forth compiler for the .NET platform

Delta Forth is a non-standard Forth dialect. It has several limitations over traditional standards; however it may be an excellent starting point for beginners. The traditional compreter (compiler interpreter) approach of other implementations did not appeal when the Delta dialect was designed since computers evolved enormously since the original Forth specification was written. Instead, we deal with compiled programs and thus several original Forth words mainly related to chained execution - have lost their meaning (see STATE, COMPILE, IMMEDIATE, etc.).

It has been stated that a complete traditional Forth environment can be coded by a single person in a three month time. I managed to release the beta 1 version of Delta in half that time. Despite the short time it took to be developed, this tool has a long history, being a continuation of the award-winning Delta Forth for Java project that I started back in 1997. At that time, it was the first Forth compiler for Java and was a real surprise when I presented it as my graduation project two years later. The .NET compiler is used to write a part of the software for my Ph.D. thesis.

This software is free of charge. However, I spent hundreds of hours designing and developing it, so if you like it please make a donation to a charity of your choice then drop me a note.

Main Features

  • Fast compilation of Forth code to IL (no intermediate C# or Basic compiling)
  • Compilation to .EXE and .DLL
  • Support for integer and string constants
  • Support for local variables
  • Support for include files
  • Support for external libraries
  • Source code is available free of charge. Request archive password from the author.

What others have said...

"Well done on your Forth compiler for .NET. It must be over fifteen years since I last touched Forth, but its a great example of how the .NET Framework supports stack-based languages well."
Tim Sneath, .NET Developer Group, Microsoft Corp.

"I work with all of our .NET language partners, and noticed your recent announcement of your Forth compiler [...]"
Brad Merrill, Microsoft Corp.

"This is fantastic! Well done!"
Chris Maunder, codeproject.com

"What a delight to trip across your Delta Forth .NET.  I was wondering who'd have the first FORTH .NET offering. I need wonder no more. [...] Keep up the good work."
Dennis Misener

"I started out with your Delta Forth. NET [...] and found it very interesting using Forth for writing .NET applications."
Lennie De Villiers


Read more on my website at http://www.dataman.ro

 

Downloads

Download demo project - 230 Kb
Download source - 27 Kb


Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • This paper introduces IBM Java on the IBM PowerLinux 7R2 server and describes IBM's implementation of the Java platform, which includes IBM's Java Virtual Machine and development toolkit.

  • In the competitive marketplace that surrounds us today, customers shouldn't have to settle for legacy desktop or application delivery simply because they've relied on a certain vendor in the past. This white paper reviews how three customers decided to partner with VMware, and how they benefited from the latest VDI and app trends to improve the end-user experience, increase productivity, reliability and stability to deliver better SLAs - with lower cost and less time needed to manage end users.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds