On Thu, May 17, 2001 at 11:23:00AM +0200, Jos Boumans wrote:
( Alberto,
(
( let's start with something very basic:
( DO NOT use variables as variable names!
(
Let's see if I can explain what I'm doing. I'm writing a 'compiler',
well... interpreter for a grammar style language. There would be something
like:
RULE ---> FILE*
::t {
for (@FILE) {
#do something
}
}
The idea is, when parsing the RULE, create the FILE array so that the user can
browse it. This is done by an eval, so I can construct a string initializing
this array, but as said on last mail, I was trying to construct the array
itself. The solution will pass by a @{$rule->{FILE}} style access?
Thanks for all ideas :)
--
| Alberto Manuel Brandão Simões |
| [EMAIL PROTECTED] |
| http://numexp.sourceforge.net |