Re: YamlReference 0.4

Oren Ben-Kiki <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <1179870681.9963.137.camel@nero>
In case it wasn't clear, I have updated ypaste
(http://dev.yaml.org/ypaste) to use the updated parser. So, you are all
encouraged to throw your most twisted/edge case/tricky YAML cases into
it. This would debug the productions and help us collect a nice set of
regression test cases for YAML implementations.

If you are interested in the sources, the package is available in
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/YamlReference-0.4
I will upload these sources to the YAML svn server soon (hopefully this
weekend), now that I have access to it (Thanks cce and Josh!).

Have fun,

	Oren Ben-Kiki

On Sat, 2007-05-19 at 20:28 -0700, Oren Ben-Kiki wrote:
> I fixed the production issues with the properties, the parser is now
> more in line with the old spec. The way it works now is:
> - Properties must be on the same line as the node for a block node
> - Properties may be on a separate line for flow nodes
> 
> That is:
>   !tag-for-mapping
>   !tag-for-key key1: !tag-for-list # value is a list
>      - !tag-for-entry entry
>   !tag-for-key key2:
>       !tag-for-flow
>       value is flow (plain)
> 
> Also "!a !b" is now an error as it should be. Finally, the displayed
> HTML contains the unparsed text following an error, which makes it
> easier to hunt down syntax errors.
> 
> Hare & Enjoy,
> 
> 	Oren Ben-Kiki


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.