Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

yaml for .licenserc format #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bengl
Copy link

@bengl bengl commented May 12, 2015

YAML makes it much easier to define the file format, and enables tool authors to use existing YAML libraries to parse.

As far as I can tell, YAML is compatible with the format you had already described.

YAML makes it much easier to define the file format, and enables tool authors to use existing YAML libraries to parse.
@kemitchell
Copy link
Member

@bengl, thanks again for good commentary.

I considered YAML, as well as JSON and INI, before settling on just stating the format in the spec. While YAML is very nice to read, it's also a large spec with lots of native datatypes and alternative syntax. I hesitate to bring all that in when parsing as described is so trivial.

I don't suppose there's anything stopping anyone with a YAML parser handy from noticing that the syntax is a subset. I'd be tempted to implement a Ruby parser that way.

@kemitchell kemitchell self-assigned this May 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants