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

  • Live Event Date: November 20, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT Are you wanting to target two or more platforms such as iOS, Android, and/or Windows? You are not alone. 90% of enterprises today are targeting two or more platforms. Attend this eSeminar to discover how mobile app developers can rely on one IDE to create applications across platforms and approaches (web, native, and/or hybrid), saving time, money, and effort and introducing apps to market faster. You'll learn the trade-offs for gaining long …

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds