Click here to Skip to main content
15,886,199 members
Articles / Programming Languages / Forth.NET

Delta Forth .NET

Rate me:
Please Sign up or sign in to vote.
4.94/5 (20 votes)
19 Aug 2013CPOL2 min read 289.5K   1.4K   48  
World's first Forth compiler for the .NET platform
The information in this article applies to:
	Delta Forth .NET 1.31
----

SYMPTOMS:
DO-LOOP structure behaves incorrectly.
The following Forth code:

:MAIN 5 0 DO I . SPACE LOOP;

should print 0 1 2 3 4 but instead it prints 0 1 2 3 4 5.

The same applies for the step loop version (+LOOP).

CAUSE:
DO-LOOP index was not decremented by 1.

STATUS:
Fixed in version 1.4

Last reviewed: October 26, 2011

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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