Post Reply 
Conversion: Algebraic - Polish - Reverse Polish - LISP ?
11-02-2024, 06:04 PM
Post: #8
RE: Conversion: Algebraic - Polish - Reverse Polish - LISP ?
Or then use DOLIST:
Code:
 « OBJ→
  IF OVER
  THEN → f
    « →LIST 1
      «
        IF DUP TYPE 9 SAME
        THEN →PN
        END
      » DOLIST f SWAP +
    »
  ELSE 1 →LIST SWAP DROP
  END
»
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Conversion: Algebraic - Polish - Reverse Polish - LISP ? - Thomas Klemm - 11-02-2024 06:04 PM



User(s) browsing this thread: 2 Guest(s)