home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!gatech!pitt!willett!ForthNet
- From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie)
- Newsgroups: comp.lang.forth
- Subject: PYGMY Forth
- Message-ID: <4140.UUL1.3#5129@willett.pgh.pa.us>
- Date: 9 Nov 92 11:58:12 GMT
- Organization: EIEI-U
- Lines: 58
-
- Category 7, Topic 22
- Message 120 Sun Nov 08, 1992
- ELLIOTT.C at 08:49 EST
-
- -----via CRS Premium Bulletin Board - USR 16.8K Dual Standard
- (416) 629-7000
- Date: 11-06-92 (21:21)
- To: FRANK SERGEANT
- From: IAN WATTERS
- Subj: PYGMY FORTH
- FS>> ** Pygmy Forth version 1.4 has now been released **
-
- Thanks for the disk, Frank. I've been working with it <g>
-
-
- Screen 175 needs HEX at the start.
-
- Using headerless constants crashes the metacompiler at the end
- of its work. Cure: redefine CONSTANT in the metacompiler.
-
- I bumped into that one when changing .S to :
-
- CODE PICK ( +N -- Nth-item ) ( 0-based: 0 PICK = DUP etc )
- BX BX ADD, SP BX ADD, SS: 0 [BX] BX MOV, NXT, END-CODE
-
- | 8 CONSTANT SM ( "Show Me" max number of stack items )
-
- : .S ( -) ." << " DEPTH DUP 0< ABORT" underflow "
- ?DUP IF SM OVER U< IF ." +" SM - U. ." < " SM THEN
- FOR I PICK . NEXT THEN ." >>" ;
-
- The CR in QUIT is then replaced by a DEFER'd word STATUS,
- vectored to .S CR, to show the stack after each line.
-
- Use DECIMAL not 10 BASE ! in several places.
-
- Something I've been meaning to ask... why does INTERPRET take
- arguments? Get (LOAD to set up >IN instead and read that?
-
-
- A disk will be in the post to you, sooner or later, with
- assorted suggestions and goodies. Say around Christmas? <g>
-
- //\/\/
-
-
- * OLX 2.2 * The Devil made me steal that tagline
- ---
- * O.L.E.F. BBS. London UK. +44-81-882-9808
- * PostLink(tm) v1.01 OLEF (#181) : RelayNet (tm).
-
-
-
- -----
- This message came from GEnie via willett. You *cannot* reply to the author
- using e-mail. Please post a follow-up article, or use any instructions
- the author may have included (USMail addresses, telephone #, etc.).
- Report problems to: dwp@willett.pgh.pa.us
-