Kirill Simonov
fc01755908
Raise an error for colons in the flow context.
2006-04-23 13:40:57 +00:00
Kirill Simonov
e8eed6301b
Sort object attributes.
2006-04-22 21:08:32 +00:00
Kirill Simonov
c87ce16706
Add support for pickling/unpickling python objects.
2006-04-22 20:40:43 +00:00
Kirill Simonov
cce15169da
Fix !!python/name for Python 2.3. Clear the yaml module namespace.
2006-04-21 17:31:29 +00:00
Kirill Simonov
93bb470320
Fix yaml-hl to use the new API.
2006-04-20 16:48:21 +00:00
Kirill Simonov
89cc4e3e4f
Add more unit tests.
2006-04-18 19:33:30 +00:00
Kirill Simonov
80ed3f1f57
Fix bugs in emitter and representer.
2006-04-18 19:33:16 +00:00
Kirill Simonov
c9aec90fde
Add support for recursive nodes to Composer. Constructor does not support recursive objects though.
2006-04-18 17:15:54 +00:00
Kirill Simonov
95b3cef7eb
Add more unit tests for error messages.
2006-04-18 16:48:00 +00:00
Kirill Simonov
24f8ae0e00
Rename error-message to loader-error and add new examples.
2006-04-18 14:35:46 +00:00
Kirill Simonov
19e134b5e9
Add constructors for some simple python types.
2006-04-18 14:35:28 +00:00
Kirill Simonov
ea23091a5b
Fix #4 (Thanks to murphy(at)rubychan.de)
2006-04-17 06:42:08 +00:00
Kirill Simonov
b12e7fea10
Refactor resolver.
2006-04-16 23:45:21 +00:00
Kirill Simonov
6a97abb4c7
Major refactoring.
2006-04-15 23:54:52 +00:00
Kirill Simonov
fcf5d614a9
Fix allow_unicode (ticket:3).
2006-04-12 22:26:41 +00:00
Kirill Simonov
cc316a4699
Implement yaml.dump().
2006-04-11 00:34:16 +00:00
Kirill Simonov
2d457ba718
Emitter is done!!!
2006-04-09 19:51:02 +00:00
Kirill Simonov
01b5e1925b
Working on emitter: implement the state machine.
2006-04-03 23:23:10 +00:00
Kirill Simonov
268bb76831
Add style information to events generated by Parser.
2006-04-03 18:20:25 +00:00
Kirill Simonov
be2d1981fb
Fix the project url.
2006-03-26 22:58:11 +00:00
Kirill Simonov
3aa558459c
Fix a test.
2006-03-19 15:42:44 +00:00
Kirill Simonov
d2e8000f09
Add an example: yaml highlight script.
...
Usage:
{{{
$ cat your_yaml_document | ./yaml_hl.py # Produces colored ASCII output
$ cat your_yaml_document | ./yaml_hl.py -c yaml_hl_html.cfg # Produces HTML output.
}}}
2006-03-19 15:41:32 +00:00
Kirill Simonov
8973bb473b
* Add the token STREAM-START.
...
* Add parsing events: STREAM-START, DOCUMENT-START, DOCUMENT-END.
2006-03-19 13:00:38 +00:00
Kirill Simonov
6548cd6b67
Loose indentation rules for the following cases:
...
* In the flow context, indentation level is not checked.
* For quoted scalars, indentation level is not checked.
* Flow scalars are not required to have at least 1 space indentation. Zero indentation is acceptable.
2006-03-19 01:30:05 +00:00
Kirill Simonov
14ed697df4
Back to work :). Rename markers to marks.
2006-03-18 13:37:09 +00:00
Kirill Simonov
7c384c7e51
Rename pyyaml-ng to ppyyaml to make it simpler.
2006-03-05 22:19:08 +00:00
Kirill Simonov
4c570faa8b
Move pyyaml3000 to a separate directory.
2006-03-04 22:43:48 +00:00