Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 28 Aug 2014, 01:41
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
FORTH.
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [17 Posts]   Goto page: Previous 1, 2
Author Message
vtpup


Joined: 15 Oct 2008
Posts: 1077
Location: Republic of Vermont

PostPosted: Wed 16 May 2012, 11:59    Post subject: gFORTH pet  

I just compiled gFORTH on Racy53 and am attaching a .pet here.

To run after installation, open a terminal window and type "gforth".

To leave type "bye"

To test type:
Code:
 5 5 + .


That should print a 10 on the terminal.

It puts the two numbers 5 and 5 on the stack, performs an addition, and then pops the result off and prints it on-screen.

To learn FIRTH go here and read this online book (Starting FORTH by Leo Brady):

http://www.forth.com/starting-forth/sf1/sf1.html
gforth-0.7.0-i486.pet
Description  Gforth compiled in Racy53
pet

 Download 
Filename  gforth-0.7.0-i486.pet 
Filesize  866.81 KB 
Downloaded  110 Time(s) 

_________________
New Acer Aspire 5349-2635 dual proc, 4gb ram, re-partitioned with frugal Racy 5.3, dual boot, running rings around Win 7.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 16 May 2012, 12:59    Post subject:  

Is this a good link to GForth?
http://www.public.iastate.edu/~forth/gforth_toc.html#TOC5

I am so bad at reading text so I get unsure of
if GForth is just an interpreter or if it produce standalone
programs that are executable? Or does it have to have GForth
running as an Interpreter all the time.

I fail to remember name but around 1990 or so there where
a Forth for Dos that compiled DOS executable standalone programs.

Very handy using that one. Big difference in how slow
and big an interpreter program is and running the free standing executables.

I get curious on what the name of that Forth could have been.
Existed on CD from a big known American University. UCLA?
or similar

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [17 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0409s ][ Queries: 13 (0.0041s) ][ GZIP on ]