Archived

This topic is now archived and is closed to further replies.

VRML compiler design

This topic is 5277 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am writing the parser for VRML. The problem is while parsing one VRML file when another vrml file is referenced, how to parse that specified one. Regards, Renisha

Share this post


Link to post
Share on other sites
Use one parser per file. So you'll have to build a class around it.

Create parser
Start parsing the content of the file (build scenegraph)
If reference to file --> new parser --> add parsed content to scenegraph.
Continue parsing...

Something like that.

[edited by - EL on August 6, 2003 3:43:25 PM]

Share this post


Link to post
Share on other sites