the amazing group 13 parser generator
Download
Skip this Video
Download Presentation
The Amazing Group 13 Parser Generator

Loading in 2 Seconds...

play fullscreen
1 / 10

The Amazing Group 13 Parser Generator - PowerPoint PPT Presentation


  • 82 Views
  • Uploaded on

The Amazing Group 13 Parser Generator. Jon Schmid Matthew Tong Justin Ward. Quick bit of honesty before the sale’s pitch. Currently use a slow version of a scanner. Quick bit of honesty before the sale’s pitch. However, supposedly a fix to the scanner is quick and easy

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' The Amazing Group 13 Parser Generator' - davina


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
the amazing group 13 parser generator

The Amazing Group 13 Parser Generator

Jon Schmid

Matthew Tong

Justin Ward

quick bit of honesty before the sale s pitch
Quick bit of honesty before the sale’s pitch
  • Currently use a slow version of a scanner
quick bit of honesty before the sale s pitch1
Quick bit of honesty before the sale’s pitch
  • However, supposedly a fix to the scanner is quick and easy
  • Our features are nifty
nifty features
Nifty Features
  • Allows the document to have mandatory or default values for attributes
  • Attribute values are typed
attribute value typing
Attribute Value Typing
  • The values of attributes are stored in the tree as Objects of a specific type, being validated in the process
  • Defaults to STRING
  • Ex. <attribute name=“number” type=“INT”> will store the value of “number” as an Integer for retrieval as an integer
more nifty features
More Nifty Features
  • Our DTD format eliminates any possible ambiguity in the parse tree
  • Allows for multiple “chunks” of CDATA
  • Example: <A> blah blah <B/> more words </A> will produce the following:

<A>

CDATA:

blah blah

CDATA: More words

<B>

and wait there s more
And wait, there’s more…
  • Can easily be modified to have the returned parse tree validate future additions and modifications to the tree, rumored to be needed in the coming project
  • Completely “Java Doc”ed
  • Implements union
union
Union
  • Allows multiple versions of each type of tag
  • Normal syntax:

<element_type name=“A”>

<element name=“element1”>

</element_type>

union1
Union
  • Example of multi-versioned type:

A single C and D, or any number of D’s:

<element_type name=“B”>

<version>

<element name=“C”>

<element name=“D”>

</version

<version>

<element name =“D” number=“*”>

</version>

</element_type>

union2
Union
  • Nested tags can be any one of the versions
  • The Verifier system will keep track of the conditions of each version and eliminate a version when it becomes invalid
  • Example: On seeing a nested <D>, both versions would still be valid, but upon getting another <D> or a <C>, one version would be eliminated.
  • The documents themselves don’t even show that any multi-versioning is occurring: <B> <D/> <C/> </B>
ad