🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.forth
Article #160

redefine "+" ??

#160
From: Robert Kaires
Date: Wed, 06 Feb 1985 22:36
5 lines
764 bytes
Do any of you FORTH experts out there know the answer to this:
How do you redefine the "+" function (or any other operator) such that
entering  "2 + 2" yields "4" instead of typing "2 2 +". Is this 
impossible in FORTH ?
thanks
Technical Details
Message-ID: <2480@tekig.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!tektronix!tekig!robertk

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 (Tek) 9/12/84; site tekig.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!tektronix!tekig!robertk
From: robertk@tekig.UUCP (Robert Kaires)
Newsgroups: net.lang.forth
Subject: redefine "+" ??
Message-ID: <2480@tekig.UUCP>
Date: Wed, 6-Feb-85 17:36:17 EST
Article-I.D.: tekig.2480
Posted: Wed Feb  6 17:36:17 1985
Date-Received: Sat, 9-Feb-85 04:47:17 EST
Organization: Tektronix, Beaverton OR
Lines: 5