Re: begin to implement YAML 1.2 in SnakeYAML
Andrey Somov <[email protected]> Mon, 15 Feb 2016 23:33:24 +0100
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CALbkv0e63OaKis9Q4zH38g68uN=wUVogV9o_ihicNLNS3dWmuw@mail.gmail.com> |
Thank you for the support. 1) Well, I think the YAML 1.2 spec should be changed: example 6.2 is about indentation. Separation tabs bring nothing but confusion. The text says nothing about tabs. Separation tabs should be removed (from the 6.2 example). Example 6.3 is about separation spaces and tabs and this is enough. 2) separation tabs are not supported now by PyYAML and SnakeYAML. I think we will not support them also when SnakeYAML adds support for YAML 1.2 - this is too confusing. Cheers, Andrey On Mon, Feb 15, 2016 at 7:01 PM, Oren Ben-Kiki <[email protected]> wrote: > Thanks for the proof-reading! > > Yes, the tabs in example 6.2 are intentional. Note these are separation > spaces and not indentation (which may not contain tabs). See also > production 66 and example 6.3. AFAIR this was always the case, even in YAML > 1.1. > > On Mon, Feb 15, 2016 at 5:51 PM, Andrey Somov <[email protected]> > wrote: > >> Hi all, >> we develop SnakeYAML (YAML 1.1 parser for Java) >> I would like to see how easy/difficult it is to support YAML 1.2 in >> SnakeYAML. >> >> I am reading the spec now. For minor questions I will create issues in >> https://github.com/yaml/yaml/issues >> >> There are some bigger questions which I will try to ask here in the >> mailing list. >> The first: >> The example "Example 6.2. Indentation Indicators" contains TABs. Is it >> intentional ? >> Should this example be parsed by the YAML 1.1 parser (for instance PyYAML >> or libyaml) ? Is it a change introduced in YAML 1.2 (I could not identify >> that) >> >> Cheers, >> >> Andrey Somov >> SnakeYAML developer >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 >> _______________________________________________ >> Yaml-core mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/yaml-core >> >> > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core