source: trunk/lib/syck/__init__.py @ 7

Revision 7, 406 bytes checked in by xi, 9 years ago (diff)

Implement syck.parse() and syck.load() (closes #8).
Add basic scalar types to the resolver (partially closes #9).

Line 
1
2from parsers import *
3
4generic_parser = GenericParser()
5parse = generic_parser.load
6parse_documents = generic_parser.load_documents
7
8parser = Parser()
9load = parser.load
10load_documents = parser.load_documents
11add_type = parser.add_type
12add_domain_type = parser.add_domain_type
13add_builtin_type = parser.add_builtin_type
14add_python_type = parser.add_python_type
15add_private_type = parser.add_private_type
16
Note: See TracBrowser for help on using the repository browser.