Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Calling parser from inside a parser rule
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: James Lamanna <jamesl@a...>
Subject: [Caml-list] Calling parser from inside a parser rule
Is it possible to call the parser from inside a parser rule?
For instance lets say I have a grammar rule which accepts
"load [filename]"

Now inside this rule, I want to open the file, and parse all the 
commands in that file using that same parser.

Is there a way to do this?

Thanks.
-- 
James Lamanna

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners