#4 Improve INTERPRET - Part 1

open
None
5
2002-03-12
2001-10-29
dbareis
No

Hi,

I have written PPWIZARD a 350K (packed) rexx based
preprocessor which allows the user amazing control via
rexx interfaces.

I have two main problems with the interpret command:

1. Tracing is flawed/buggy (as previously reported)
It is OK under OS/2 native rexx.

2. The time taken to tokenize the item. I would like
to see an extension to the command (ie better than
ANSI!) to allow a once off tokenize process and
then subsequent reuse of the stored tokenized copy.
now implementation wise the user may not know (ie
hidden internally) but this would be a great
improvement for me and would speed up PPWIZARD
a lot.

Thanks
Dennis

Discussion

  • dbareis

    dbareis - 2001-10-31
    • summary: Improve "INTERPRET" --> Improve "INTERPRET"
     
  • dbareis

    dbareis - 2001-10-31
    • summary: Improve "INTERPRET" --> Improve "INTERPRET" - Part 1
     
  • Mark Hessling

    Mark Hessling - 2001-12-14
    • assigned_to: nobody --> rexx
    • summary: Improve "INTERPRET" - Part 1 --> Improve "INTERPRET" - Part 1
     
  • Mark Hessling

    Mark Hessling - 2001-12-14

    Logged In: YES
    user_id=86185

    As far as tokenisation is concerned, Regina should provide
    this (note not tested!)
    Call RexxStart() as RXCOMMAND the first time with the
    program name, and pass "//T" as the only argument. Ensure
    that the instore argument is also set to allow the
    tokenised code to be returned. Subsequent calls to RexxStart
    () use instore only (no program name).

     
  • dbareis

    dbareis - 2002-03-12
    • summary: Improve "INTERPRET" - Part 1 --> Improve INTERPRET - Part 1
     
  • dbareis

    dbareis - 2002-03-12

    Logged In: YES
    user_id=253196

    I wish to "INTERPRET" (a rexx statement) some unknown code
    any number of times. I would like it not to be slow (as it
    is now). I would prefer either some ANSI extensions to
    allow me to tokenise rexx code on the fly and then
    interpret tokenised code or rexx to cache the string and
    tokenisation.