DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (dcc6d7a0dc00)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
If this is your first time building the HTML5 parser, you need to execute the
following commands (from this directory) to bootstrap the translation:

  make sync             # fetch remote source files and licenses
  make translate        # perform the Java-to-C++ translation from the remote 
                        # sources
  make named_characters # Generate tables for named character tokenization

If you make changes to the translator or the javaparser, you can rebuild by
retyping 'make' in this directory.  If you make changes to the HTML5 Java
implementation, you can retranslate the Java sources from the htmlparser 
repository by retyping 'make translate' in this directory.

The makefile supports the following targets:

  Retrieves the HTML parser and Java to C++ translator sources from Mozilla's 
  htmlparser repository.
  Retrieves the javaparser sources from Google Code.
  Runs both sync_javaparser and sync_htmlparser.
  Builds the javaparser library retrieved earlier by sync_javaparser. 
  Runs the javaparser target and then builds the Java to C++ translator from 
  sources retrieved earlier by sync_htmlparser.
  The default target. Alias for translator
  Runs the translator target and then translates the HTML parser sources 
  retrieved by sync_htmlparser copying the Java sources to ../javasrc.
  Runs the translator target and then translates the HTML parser sources 
  stored in ../javasrc.
  Generates data tables for named character tokenization.
  Removes the build products of the javaparser target.
  Removes the build products of the translator target.
  Runs both clean_javaparser and clean_htmlparser.

Ben Newman (23 September 2009)
Henri Sivonen (21 April 2010)