Click here to Skip to main content
15,896,201 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 290.8K   1.4K   48  
World's first Forth compiler for the .NET platform
The information in this article applies to:
	Delta Forth .NET 1.0 Beta 2
----

SYMPTOMS:
The IL code generator erroneously builds the ForthStack and ReturnStack objects
as arrays of integer arrays:

	IL_0000: ldc.i4	0x80000
	IL_0005: newarr int32[]		// *
	IL_000a: stsfld	int32[] DeltaForthEngine::ForthStack
	IL_000f: ldc.i4	0x400
	IL_0014: newarr	int32[]		// *
	IL_0019: stsfld	int32[] DeltaForthEngine::ReturnStack

CAUSE:
Human error. :-)

STATUS:
Fixed.

Thanks to Brad Merrill <bmerrill@microsoft.com> from Microsoft Corp. for
helping me track down this error.


Last reviewed: December 10, 2001

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