comp.lang.ada
 help / color / mirror / Atom feed
From: Felix Krause <contact@flyx.org>
Subject: Re: YAML parser?
Date: Sat, 17 Mar 2018 10:51:18 +0100
Date: 2018-03-17T10:51:18+01:00	[thread overview]
Message-ID: <2018031710511851769-contact@flyx.org> (raw)
In-Reply-To: 2e48bc00-5f44-499a-b56a-9bf5aad6d94f@googlegroups.com

On 2018-03-17 07:17:19 +0000, mockturtle said:

> Thank you, everyone.  I'll try to get in touch with the mantainer of 
> the YAML web site to see if they can update the pate (I do not know if 
> there are constraints of maturity)

You can ask me right here if you have concerns :).

Concerning the maturity, AdaYaml is tested with the comprehensive test 
suite of the YAML project. The suite is still in development, but has 
far above 200 tests. AdaYaml passes all of the test cases relevant for 
a user, with failures in details where we are trying to change things 
for the better in upcoming YAML 1.3.

The API is mostly mature, except for a possible minor change in tag 
handling that may happen depending on or decision process on 1.3. You 
can assume that AdaYaml parses all „real“ YAML 1.2 documents (i.e. not 
depending on a few edge cases not found anywhere in the wild) and the 
biggest incompatibility with 1.2 is currently that verbatim tags are 
not allowed:

    !<tag:yaml.org,2002:str> # fails with lexer error
    !!str                    # identical semantics, parses fine

The second „incompatibility“ is that '@' is no longer reserved, but 
parsed as „annotation“. This will not break any existing documents as 
the character was previously reserved. Annotations are currently litte 
more than a proof-of-concept and should not concern you – if you just 
reject any annotation tokens, you have a normal 1.2 structure. All my 
experimental code is in yaml-annotation_processor.gpr so if you just 
import yaml.gpr, you won't import experimental code.

I am always a bit lazy on crafting new releases. As I know now that 
there is interest in using this library again, I will wrap up the 
current state into a new release, as there have been some bug fixes 
since the last one.

-- 
Regards,
Felix Krause


      reply	other threads:[~2018-03-17  9:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 21:24 YAML parser? mockturtle
2018-03-16 22:20 ` Wesley Pan
2018-03-16 22:21   ` Wesley Pan
2018-03-16 22:27     ` Wesley Pan
2018-03-16 22:31     ` Wesley Pan
2018-03-16 22:30 ` joakimds
2018-03-17  7:17 ` mockturtle
2018-03-17  9:51   ` Felix Krause [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox