home *** CD-ROM | disk | FTP | other *** search
- From: akcs.levenson@hpcvbbs.cv.hp.com (william j. levenson)
- Date: Mon, 9 Nov 1992 20:40:04 GMT
- Subject: Re: sys_RPL EVAL??? and DEBUGer ???
- Message-ID: <2afec0c7.2091.3comp.sys.hp48.1@hpcvbbs.cv.hp.com>
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!scd.hp.com!hpscdm!cupnews0.cup.hp.com!news1.boi.hp.com!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.levenson
- Newsgroups: comp.sys.hp48
- References: <1992Nov5.093538.11956@waikato.ac.nz> <1992Nov6.085639.11983@waikat
- Lines: 32
-
- Conan (and anyone else whose interested):
-
- I briefly looked into your delemma using COMPEVAL. Your difficulties
- aren't due to COMPEVAL. It seems to be due to palparse. When palparse
- gets a string, it doesn't behave the way you think. It isn't documented
- very well and I haven't taken the time to understand what it is doing or
- why but I can tell you that the object that it returns when given a
- string such as:
-
- << program >> decompiles to
-
- :: PTR 2349C
- :: << program >> ;
- ;
-
- In entries.3 (Mika??), PTR 2349c is described as "xSILENT'" or I believe,
- a ' without storing the command as a new command. In other words, when
- you first do COMPEVAL, the outer program just puts the inner program on
- the stack. The stack display for both programs looks the same, that's
- why you didn'
- t think it did anything to the stack. From what I can get from my
- limited decompiling of this stuff, palparse seems to be used for IO. The
- parser used by the comandline ENTER ends up using an RPL word called
- Parse.1 which is in entries.a. Wait a minute...(as you can tell , I'm
- writing and decompiling at the same time) Parse.1 uses palparse, also.
- But it calls something called InitEdLine first. I don't have time right
- now to continue digging, but apparently you need to call something
- similar to what is called when the editline is parsed. That begins at
- 40BB5. Use the <-RPL-> library to dig further. I hope I've pointed you
- to the right direction. Let us know what you discover.
-
- Bill Levenson
-