in reply to Pointers on working with another language's syntax
Is that the language in which the text adventures of Zork et al. were written?
Fond memories of long nights spend in solving them, come back.
But for a solution of your problem: I would put the Inform code after a __DATA__ statement and then read the Inform code into a hash-structure (or more likely a hash of hashes of ... (just guessing as I don't know anything about the Inform language so the exact structure/grammar/rules are totally opaque to me)
Your Perl-Inform parser/interpreter can then manipulate this data structure in the "usual" way.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Pointers on working with another language's syntax
by Koschei (Monk) on Feb 18, 2003 at 10:56 UTC | |
Re: Pointers on working with another language's syntax
by jonadab (Parson) on Feb 18, 2003 at 13:30 UTC | |
by tall_man (Parson) on Feb 18, 2003 at 15:45 UTC | |
Re: Pointers on working with another language's syntax
by jonadab (Parson) on Feb 18, 2003 at 13:15 UTC |
In Section
Seekers of Perl Wisdom