Click here to Skip to main content
11,713,864 members (83,717 online)
Click here to Skip to main content

Delta Forth .NET

, 19 Aug 2013 CPOL 231.4K 1.4K 47
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

Valer BOCAN
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.

You may also be interested in...

Comments and Discussions

 
GeneralRPL Pin
bouli17-Dec-03 11:27
memberbouli17-Dec-03 11:27 
QuestionWhat's it good for? Pin
b0blee31-Jul-03 12:02
sussb0blee31-Jul-03 12:02 
AnswerRe: What's it good for? Pin
Valer BOCAN31-Jul-03 21:00
memberValer BOCAN31-Jul-03 21:00 
QuestionDid Valer get his PhD? Pin
Nishant S19-Apr-03 13:20
editorNishant S19-Apr-03 13:20 
AnswerRe: Did Valer get his PhD? Pin
Valer BOCAN20-Apr-03 20:38
memberValer BOCAN20-Apr-03 20:38 
GeneralFunny quote Pin
Reyes13-Feb-03 23:21
memberReyes13-Feb-03 23:21 
QuestionI wonder what Chuck thinks of this? Pin
synchromesh18-Nov-02 9:16
membersynchromesh18-Nov-02 9:16 
QuestionWhy no .NET compiler implementations? Pin
Heath Stewart15-Nov-02 3:28
memberHeath Stewart15-Nov-02 3:28 
AnswerRe: Why no .NET compiler implementations? Pin
Valer BOCAN15-Nov-02 3:37
memberValer BOCAN15-Nov-02 3:37 
GeneralYour approach Pin
Shaun Wilde19-Jul-02 10:18
memberShaun Wilde19-Jul-02 10:18 
GeneralRe: Your approach Pin
Valer BOCAN26-Jul-02 20:31
memberValer BOCAN26-Jul-02 20:31 
GeneralRe: Your approach Pin
RichT6666-May-03 21:22
sussRichT6666-May-03 21:22 
GeneralRe: Your approach Pin
Zdenek Navratil21-May-03 21:06
memberZdenek Navratil21-May-03 21:06 
GeneralThe link to the source code Pin
123bhy22-Jan-02 6:54
member123bhy22-Jan-02 6:54 
GeneralRe: The link to the source code Pin
Valer BOCAN22-Jan-02 7:23
memberValer BOCAN22-Jan-02 7:23 
GeneralOh my GOD Pin
Tim Smith21-Jan-02 5:40
memberTim Smith21-Jan-02 5:40 
GeneralRe: Oh my GOD Pin
Jon Sagara21-Jan-02 21:55
memberJon Sagara21-Jan-02 21:55 
GeneralRe: Oh my GOD Pin
Daniel Turini21-Jan-02 22:03
memberDaniel Turini21-Jan-02 22:03 
GeneralRe: Oh my GOD Pin
Jon Sagara21-Jan-02 22:05
memberJon Sagara21-Jan-02 22:05 
GeneralRe: Oh my GOD Pin
Nish [BusterBoy]21-Jan-02 22:20
memberNish [BusterBoy]21-Jan-02 22:20 
GeneralRe: Oh my GOD Pin
WillemM4-Nov-03 5:26
memberWillemM4-Nov-03 5:26 
GeneralRe: Oh my GOD Pin
Nish [BusterBoy]21-Jan-02 22:18
memberNish [BusterBoy]21-Jan-02 22:18 
GeneralRe: Oh my GOD Pin
Valer BOCAN21-Jan-02 22:46
memberValer BOCAN21-Jan-02 22:46 
GeneralRe: Oh my GOD Pin
Nish [BusterBoy]21-Jan-02 22:46
memberNish [BusterBoy]21-Jan-02 22:46 
GeneralRe: Oh my GOD Pin
peterchen27-Jan-02 2:17
memberpeterchen27-Jan-02 2:17 
GeneralRe: Oh my GOD Pin
Nish [BusterBoy]27-Jan-02 16:05
memberNish [BusterBoy]27-Jan-02 16:05 
GeneralRe: Oh my GOD Pin
Colin Davies19-Apr-03 12:27
memberColin Davies19-Apr-03 12:27 
GeneralRe: Oh my GOD Pin
Nishant S19-Apr-03 13:12
editorNishant S19-Apr-03 13:12 
GeneralRe: Oh my GOD Pin
Anonymous14-Oct-04 19:21
sussAnonymous14-Oct-04 19:21 
GeneralRe: Oh my GOD Pin
ricmil4211-May-07 7:17
memberricmil4211-May-07 7:17 

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150819.1 | Last Updated 19 Aug 2013
Article Copyright 2002 by Valer BOCAN
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid