Click here to Skip to main content
15,880,967 members
Articles / Programming Languages / Forth.NET
Tip/Trick

Delta Forth .NET

Rate me:
Please Sign up or sign in to vote.
4.94/5 (20 votes)
19 Aug 2013CPOL2 min read 288.8K   1.4K   48   41
World's first Forth compiler for the .NET platform

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 frame. 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. 

Main Features 

  • Targets the Common Language Runtime (CLR) directly, i.e. there is no intermediate p-code generation
  • Compilation to either .EXE or .DLL
  • Support for integer and string constants
  • Support for local variables
  • Support for include files
  • Support for external libraries
  • Support for signed assemblies 

What others have said... 

"Well done on your Forth compiler for .NET. It must be over fifteen years since I last touched Forth, but it’s 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.

"Excellent work Valer - I'm most impressed!" 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.bocan.ro/deltaforthnet 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Romania Romania
I am a software engineer based in Timișoara, Romania and currently hold the position of software architect for one of the largest companies in the world.

I invented a dialect of the Forth programming language and implemented the first Forth compiler for the .NET platform. I reverse-engineered the communication protocol of some GPS trackers and wrote from scratch a vehicle tracking system that is currently used to track my two cars. I hold a PhD in computer science and I am the author of several papers and a book chapter. In the 90s I wrote several computer viruses in assembly language for my own research and I was the first to devise a technique to deter heuristic virus scanners. In short, a humble man.

Comments and Discussions

 
GeneralRe: Oh my GOD Pin
Jon Sagara21-Jan-02 22:05
Jon Sagara21-Jan-02 22:05 
GeneralRe: Oh my GOD Pin
Nish Nishant21-Jan-02 22:20
sitebuilderNish Nishant21-Jan-02 22:20 
GeneralRe: Oh my GOD Pin
WillemM4-Nov-03 5:26
WillemM4-Nov-03 5:26 
GeneralRe: Oh my GOD Pin
Nish Nishant21-Jan-02 22:18
sitebuilderNish Nishant21-Jan-02 22:18 
GeneralRe: Oh my GOD Pin
Valer BOCAN21-Jan-02 22:46
Valer BOCAN21-Jan-02 22:46 
GeneralRe: Oh my GOD Pin
Nish Nishant21-Jan-02 22:46
sitebuilderNish Nishant21-Jan-02 22:46 
GeneralRe: Oh my GOD Pin
peterchen27-Jan-02 2:17
peterchen27-Jan-02 2:17 
GeneralRe: Oh my GOD Pin
Nish Nishant27-Jan-02 16:05
sitebuilderNish Nishant27-Jan-02 16:05 
LOL

Nish

Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
GeneralRe: Oh my GOD Pin
ColinDavies19-Apr-03 12:27
ColinDavies19-Apr-03 12:27 
GeneralRe: Oh my GOD Pin
Nish Nishant19-Apr-03 13:12
sitebuilderNish Nishant19-Apr-03 13:12 
GeneralRe: Oh my GOD Pin
Anonymous14-Oct-04 19:21
Anonymous14-Oct-04 19:21 
GeneralRe: Oh my GOD Pin
ricmil4211-May-07 7:17
ricmil4211-May-07 7:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.