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

  • Lenovo recommends Windows 8 Pro. "I dropped my laptop getting out of the taxi." This probably sounds familiar to most IT professionals. If your employees are traveling, you know their devices are in for a rough go. Whether it's a trip to the conference room or a convention out of town, any time equipment leaves a user's desk it is at risk of being put into harm's way. Stay connected at all times, whether at the office or on the go, with agile, durable, and flexible devices like the Lenovo® …

  • When individual departments procure cloud service for their own use, they usually don't consider the hazardous organization-wide implications. Read this paper to learn best practices for setting up an internal, IT-based cloud brokerage function that service the entire organization. Find out how this approach enables you to retain top-down visibility and control of network security and manage the impact of cloud traffic on your WAN.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date