Source

pyyaml / lib / yaml / parser.py

Author Commit Message Labels Comments Date
Kirill Simonov
Clear cyclic references in the parser and the emitter to avoid extra GC calls.
Kirill Simonov
Removed a stale comment; fixes #102.
Kirill Simonov
Fixed a problem when the DOCUMENT-END event is not emitted until the beginning of the next document is available. Fixed #51. Thanks edward(at)sweetbytes.net for the bug report.
Kirill Simonov
Use the types module instead of constructing type objects by hand. Fix #41. Thanks to v.haisman@sh.cvut.cz for the patch.
Kirill Simonov
Subclass all base classes from `object`. Hold references to the objects being represented (should fix #22). The value of a mapping node is represented as a list of pairs `(key, value)` now. Sort dictionary items (fix #23). Recursive structures are now loaded and dumped correctly, including complex structures like recursive tuples (fix #5). Thanks Peter Murphy for the patches. To make it possible, representer functions are allowed to b…
Kirill Simonov
Fix some minor issues with the new Parser.
Kirill Simonov
To make porting easier, rewrite Parser not using generators. Fix handling of unexpected block mapping values, like {{{ : foo }}} Remove obsolete and unused {{{__iter__}}} functions.
Kirill Simonov
Refactor resolver.
Kirill Simonov
Major refactoring.
Kirill Simonov
Emitter is done!!!
Kirill Simonov
Add style information to events generated by Parser.
Kirill Simonov
* Add the token STREAM-START. * Add parsing events: STREAM-START, DOCUMENT-START, DOCUMENT-END.
Kirill Simonov
Back to work :). Rename markers to marks.
Kirill Simonov
Move pyyaml3000 to a separate directory.