Updated Forth OO Extensions Files

This is a discussion on Updated Forth OO Extensions Files within the Forth forums in Programming Languages category; The Neon ANS compatible extensions have been updated and are available as .zip archives at the following URL: http://members.talkamerica.net/dougl...lkamerica.net/ File class20f.zip is for PC users File class20mf.zip is for Macintosh (MacForth) users The important changes to this version are to the method compiler: 1) Inside a class definition one can now obtain the address of an ivar simply by executing its name. 2) Inside a class definition we can now use a never-before-defined selector in a late bind. The method compiler will automatically handle this correctly. These files have been tested on the following Forths and OS's: Carbon MacForth on ...

Go Back   Application Development Forum > Programming Languages > Forth

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-18-2008, 01:57 PM
Doug Hoffman
Guest
 
Default Updated Forth OO Extensions Files

The Neon ANS compatible extensions have been updated and are available
as .zip archives at the following URL:

http://members.talkamerica.net/dougl...lkamerica.net/

File class20f.zip is for PC users
File class20mf.zip is for Macintosh (MacForth) users

The important changes to this version are to the method compiler:

1) Inside a class definition one can now obtain the address of an ivar
simply by executing its name.

2) Inside a class definition we can now use a never-before-defined
selector in a late bind. The method compiler will automatically handle
this correctly.


These files have been tested on the following Forths and OS's:

Carbon MacForth on OS X 10.3.9 iMac G3

Gforth v 0.6.2 on Windows XP Dell Dimension Pentium 4

SwiftForth v 2.2.2.9 on Windows XP Dell Dimension Pentium 4

VFX Forth VFX Forth for Win32 v 4.10 on Windows XP Dell Dimension Pentium 4


In addition to the original library classes provided by Andrew McKewan,
you will find several new classes and their descriptions.

Files for both linked-list and dispatch table based late-binding are
included. Take your pick. The linked-list is simpler in
implementation. The dispatch table is very fast. Usage is identical.

-Doug
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:17 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.