Good point re "action at a distance". In particular, on thinking about
it, I realize that if a module writer who uses Marpa::R2 used the import
list option, it would either be pre-empted by the application, or the
module's invocation would pre-empt the application -- either way a real
problem. So, just not a good idea.
-- jeffrey
On 02/23/2014 10:11 PM, Ron Savage wrote:
This makes it action-at-a-distance. I prefer having those 2 statements
right there in the grammar, where I'll read them each time I go to the
top of the grammar's definition. Well, that's where I expect them to
be, and where I'd put them.
Also, what happens when the grammar is read from a file? It's OK for
Marpa, it /knows/ 'if2' was specified, but every other program which
reads that file (e.g. mine to graph the grammar) does not have access
to that information :-(.
--
You received this message because you are subscribed to the Google
Groups "marpa parser" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "marpa
parser" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.