[x3d-public] General-purpose VRML parsing

Andreas Plesch andreasplesch at gmail.com
Wed Aug 23 12:46:52 PDT 2017


>
>
> Date: Wed, 23 Aug 2017 10:09:08 -0700
> From: Don Brutzman <brutzman at nps.edu>
> To: Vincent Marchetti <vmarchetti at ameritech.net>
> Cc: Roy Walmsley <roy.walmsley at ntlworld.com>, X3D Graphics public
>         mailing list <x3d-public at web3d.org>
> Subject: [x3d-public] General-purpose VRML parsing motivations;
>         Comparison of parser generators - Wikipedia
> Message-ID: <ced0a5dc-b405-b621-c725-ce7d495ea6b2 at nps.edu>
> Content-Type: text/plain; charset="utf-8"; format=flowed
>
> The working group has been talking about possible ways to take advantage
> of the formal grammars for VRML syntax:
>
>         19776-2 Extensible 3D (X3D) encodings Part 2: Classic VRML encoding
>         Annex A (normative) Grammar
>         http://www.web3d.org/documents/specifications/
> 19776-2/V3.3/Part02/grammar.html
>
>         14772 Virtual Reality Modeling Language (VRML97)
>         Annex A (normative) Grammar definition
>         http://www.web3d.org/documents/specifications/
> 14772/V2.0/part1/grammar.html
>
> It would be interesting to generate a state-machine diagram for parsing
> the VRML grammar.  Perhaps one already exists somewhere?
>
> There are of course many converters and parsing libraries for VRML/X3D.
> Many open-source code APIs exist, though they tend to be specifically tied
> to implementation goals (such as rendering in a player).
>

Cobweb (soon Excite) has a formal and strict looking vrml parser:

https://github.com/create3000/cobweb/blob/master/src/cobweb/Parser/Parser.js

Perhaps helpful as a working example for targeted parser generator output.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170823/ed3b0bd5/attachment.html>


More information about the x3d-public mailing list