YAML with comments

Discussion in 'Ruby' started by Phlip, Sep 23, 2005.

  1. Phlip

    Phlip Guest

    Newsgroupies:

    I like the existing YAML system very much for Ruby. However...

    Because I am evil, I want a YAML parser that preserves comments, as records
    of some "Comment" type, embedded within the other records.

    By comparison, XML parsers can preserve their comments.

    How to parse YAML and retain the commentary?

    --
    Phlip
    http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
     
    Phlip, Sep 23, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. RubyQuestions
    Replies:
    0
    Views:
    242
    RubyQuestions
    Dec 3, 2003
  2. Paul Battley

    YAML.dump/YAML.load bug

    Paul Battley, Aug 3, 2005, in forum: Ruby
    Replies:
    0
    Views:
    207
    Paul Battley
    Aug 3, 2005
  3. Eric Promislow
    Replies:
    4
    Views:
    233
    Eric Promislow
    Oct 31, 2006
  4. Joshua Choi

    yaml.rb and YAML "%" directives

    Joshua Choi, Jan 14, 2007, in forum: Ruby
    Replies:
    1
    Views:
    197
  5. Fransiscus Xaverius

    YAML Problem YAML::Object

    Fransiscus Xaverius, Dec 14, 2007, in forum: Ruby
    Replies:
    2
    Views:
    169
    Fransiscus Xaverius
    Dec 14, 2007
Loading...

Share This Page