Orchard: Source Examples and Documentation

Docs

Python

Code

python/Orchard/Node.py
Node superclass.
python/Orchard/TreeBuilder.py
Generic Tree Builder.
python/Orchard/XML.py
Basic XML nodes.
python/Orchard/RSS.py
RSS nodes.
python/Orchard/Parsers/SAX.py
Basic XML parsing.
python/Orchard/Parsers/RSS.py
RSS 1.0 parser.
python/Orchard/SOAP.py
SOAP Pickler and Unpickler.

Tests

python/t/NodeFunc.py
Functional/Acceptance tests for Node.py.
python/t/TreeBuilderFunc.py
Functional/Acceptance tests for TreeBuilder.py.
python/t/XMLNodeFunc.py
Functional/Acceptance tests for XML.py.
python/t/XMLParserFunc.py
Functional/Acceptance tests for SAX.py.
python/t/RSSNodeFunc.py
Functional/Acceptance tests for RSS.py.
python/t/RSSParserFunc.py
Functional/Acceptance tests for RSS.py.
python/t/NodeUnit.py
Unit tests for Node.py.
python/t/XMLNodeUnit.py
Unit tests for Node.py.
python/t/RSSNodeUnit.py
Unit tests for RSS.py.
python/t/SOAPUnit.py
Unit tests for SOAP.py.

Perl

Note: Make sure to check out the Perl interface in Orchard/Mostly-C below.

Code

perl/lib/Class/Orchard/Node.pm
Node superclass.
perl/lib/Class/Orchard/TreeBuilder.pm
Generic Tree Builder.
perl/lib/XML/Orchard.pm
Basic XML nodes.
perl/lib/SAXDriver/XMLParser.pm
Basic XML parsing.

Tests

perl/t/node_func.t
Functional/Acceptance tests for Node.pm.
perl/t/tree_builder_func.t
Functional/Acceptance tests for TreeBuilder.pm.
perl/t/xml_node_func.t
Functional/Acceptance tests for XML::Orchard.pm.
perl/t/xml_parser_func.t
Functional/Acceptance tests for SAXDriver::XMLParser.pm.
perl/t/node_unit.t
Unit tests for Node.pm.
perl/t/xml_node_unit.t
Unit tests for XML::Orchard.

Mostly-C

  • Mostly-C preprocessor quick summary <

    Code

    c/node.moc
    Node superclass.
    c/tree_builder.moc
    Tree Builder class.
    c/xml_nonopt.moc
    XML classes storing all properties in plain Nodes.
    c/xml_fs.moc
    Faster, more memory efficient XML classes.
    c/saxd_expat.moc
    Expat-based SAX parser class.
    c/xpath.moc
    XML::XPath-derived XPath class.

    Tests

    c/t/node_func.moc
    Functional/Acceptance tests for node.moc.
    c/t/node_unit.moc
    Unit tests for node.moc.
    c/t/tree_builder_func.moc
    Functional/Acceptance tests for tree_builder.moc.
    c/t/xml_node_func.moc
    Functional/Acceptance tests for xml_document.moc, xml_element.moc, xml_attribute.moc, xml_characters.moc, xml_comment.moc, and xml_pi.moc.
    c/t/xml_node_unit.moc
    Unit tests for XML nodes.
    c/t/text.xml
    XML file for expat_func.moc.
    c/t/expat_func.moc
    Functional/Acceptance tests for saxd_expat.moc.
    c/t/xpath_unit.moc
    Unit tests for XPath.

    C++ i/f

    orchard.h
    Core interface for Orchard objects.
    orchard.cc
    Implementation for Orchard objects.
    test_orchardcc.cc
    Unit tests for Orchard objects.