still working on report
git-svn-id: svn://anubis/gvsu@405 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
9adc5a2136
commit
8c9ab81429
@ -111,6 +111,18 @@
|
|||||||
The design document for FART is available
|
The design document for FART is available
|
||||||
<a href="design.html">here</a>.
|
<a href="design.html">here</a>.
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
To create a scalable parser to read scene files according to
|
||||||
|
a grammar that I supplied, I used the bison parser generator.
|
||||||
|
I used bison because it is very portable and worked directly
|
||||||
|
with my C++ code.
|
||||||
|
The parser produces a hierarchy of <tt>Node</tt> objects.
|
||||||
|
Each <tt>Node</tt> object represents some part of the parse tree
|
||||||
|
obtained from the scene description file.
|
||||||
|
Thus, the parse tree can be traversed after parsing is complete
|
||||||
|
in order to evaluate all of the scene objects specified in the
|
||||||
|
scene file, maintaining node order and parent/child relationships.
|
||||||
|
</p>
|
||||||
|
|
||||||
<a name="implementation" />
|
<a name="implementation" />
|
||||||
<h4>Implementation</h4>
|
<h4>Implementation</h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user