                                    
                                    

                       Rebuilding Generated Files
                       --------------------------
Some of the files checked into the 4Suite distribution are generated files.  These files are in the distribution in the generated format for ease of building by most users.  If you need to make changes to the generated files, please see the instructions below.  These steps should only be needed if you really want to make some radical changes.

 ** Rebuilding the XPath parser (in XPath) ** 

Generated files:
   *  XPath.h
   *  XPath.py
   *  XPath.tab.c
   *  XPath.tab.h
   *  XPathParserBase.py
   *  XPath_wrap.c
   *  lex.XPath.c

Input Files:
   *  XPath.bgen.in
   *  XPathBase.bgen.frag
   *  XPathModules.bgen.frag
   *  XPathTokens.bgen.frag
   *  XPathTokens.l.frag
   *  XPath.l.in

Intermidiate files created (that can be deiscarded when done):
   *  XPath.bgen
   *  XPath.i
   *  XPath.l
   *  XPath.y
   *  XPath_wrap.doc

To rebuild:
# BisonGen XPath.bgen.in 
# bison --name-prefix=XPath -d XPath.y 
# flex -f -PXPath XPath.l
# swig -python -shadow XPath.i
Remove the Intermdeiate files

 ** Rebuilding the XPattern parser (in Xslt) ** 

Generated files:
   *  XPattern.h
   *  XPattern.py
   *  XPattern.tab.c
   *  XPattern.tab.h
   *  XPatternParserBase.py
   *  XPattern_wrap.c
   *  lex.XPattern.c

Input Files:
   *  XPattern.bgen.in
   *  ../XPath/XPathModules.bgen.frag
   *  XPatternModules.bgen.frag
   *  ../XPath/XPathTokens.bgen.frag
   *  XPatternTokens.bgen.frag
   *  XPathBase.bgen.frag
   *  XPattern.l.in
   *  ../XPath/XPathTokens.l.frag

Intermidiate files created (that can be deiscarded when done):
   *  XPattern.bgen
   *  XPattern.i
   *  XPattern.l
   *  XPattern.y
   *  XPattern_wrap.doc

To rebuild:
# BisonGen XPattern.bgen.in 
# bison --name-prefix=XPattern -d XPattern.y 
# flex -f -PXPattern XPattern.l
# swig -python -shadow XPattern.i
Remove the Intermdeiate files

 ** Rebuilding the Odl parser (in Ods/Parsers/Odl) ** 

Generated files:
   *  Odl.h
   *  Odl.py
   *  Odl.tab.c
   *  Odl.tab.h
   *  OdlParserBase.py
   *  Odl_wrap.c
   *  lex.Odl.c

Input Files:
   *  Odl.bgen.in
   *  Odl.l.in

Intermidiate files created (that can be deiscarded when done):
   *  Odl.bgen
   *  Odl.i
   *  Odl.l
   *  Odl.y
   *  Odl_wrap.doc

To rebuild:
# BisonGen -m Odl.bgen.in 
# bison --name-prefix=Odl -d Odl.y 
# flex -f -POdl Odl.l
# swig -python -shadow Odl.i
Remove the Intermdeiate files

 ** Rebuilding the Oql parser (in Ods/Parsers/Oql) ** 

Generated files:
   *  Oql.h
   *  Oql.py
   *  Oql.tab.c
   *  Oql.tab.h
   *  OqlParserBase.py
   *  Oql_wrap.c
   *  lex.Oql.c

Input Files:
   *  Oql.bgen.in
   *  Oql.l.in

Intermidiate files created (that can be deiscarded when done):
   *  Oql.bgen
   *  Oql.i
   *  Oql.l
   *  Oql.y
   *  Oql_wrap.doc

To rebuild:
# BisonGen -n Oql.bgen.in 
# bison --name-prefix=Oql -d Oql.y 
# flex -f -POql Oql.l
# swig -python -shadow Oql.i
Remove the Intermdeiate files

 ** Rebuilding the Oql parser (in Ods/Parsers/Oif) ** 

Generated files:
   *  Oif.h
   *  Oif.py
   *  Oif.tab.c
   *  Oif.tab.h
   *  OifParserBase.py
   *  Oif_wrap.c
   *  lex.Oif.c

Input Files:
   *  Oif.bgen.in
   *  Oif.l.in

Intermidiate files created (that can be deiscarded when done):
   *  Oif.bgen
   *  Oif.i
   *  Oif.l
   *  Oif.y
   *  Oif_wrap.doc

To rebuild:
# BisonGen -m Oif.bgen.in 
# bison --name-prefix=Oif -d Oif.y 
# flex -f -POif Oif.l
# swig -python -shadow Oif.i
Remove the Intermdeiate files

 ** Rebuilding the HTML interfaces (in Dom/html) ** 

Generated files:
   *  HTMLHtmlElement.py
   *  HTMLHeadElement.py
   *  HTMLTitleElement.py
   *  HTMLLinkElement.py
   *  HTMLMetaElement.py
   *  HTMLBaseElement.py
   *  HTMLIsIndexElement.py
   *  HTMLStyleElement.py
   *  HTMLBodyElement.py
   *  HTMLOptGroupElement.py
   *  HTMLTextAreaElement.py
   *  HTMLButtonElement.py
   *  HTMLLabelElement.py
   *  HTMLFieldSetElement.py
   *  HTMLLegendElement.py
   *  HTMLUListElement.py
   *  HTMLOListElement.py
   *  HTMLDListElement.py
   *  HTMLDirectoryElement.py
   *  HTMLMenuElement.py
   *  HTMLLIElement.py
   *  HTMLDivElement.py
   *  HTMLParagraphElement.py
   *  HTMLHeadingElement.py
   *  TMLQuoteElement.py
   *  HTMLPreElement.py
   *  HTMLBRElement.py
   *  HTMLBaseFontElement.py
   *  HTMLFontElement.py
   *  HTMLHRElement.py
   *  HTMLModElement.py
   *  HTMLAnchorElement.py
   *  HTMLImageElement.py
   *  HTMLObjectElement.py
   *  HTMLParamElement.py
   *  HTMLAppletElement.py
   *  HTMLAreaElement.py
   *  HTMLScriptElement.py
   *  HTMLTableCaptionElement.py
   *  HTMLTableCaptionElement.py
   *  HTMLTableColElement.py
   *  HTMLFrameSetElement.py

Input Files:
   *  admin/html_classes.xml
   *  admin/html_classes.dtd

To rebuild:
# cd Ft/admin
    # python GenerateHtml.py html_classes.xml ../Dom/html
