Commit Graph

319 Commits

Author SHA1 Message Date
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