go-gypsy icon indicating copy to clipboard operation
go-gypsy copied to clipboard

formal specification

Open kylelemons opened this issue 14 years ago • 2 comments

Write a formal specification of the subset of YAML understood by Gypsy

kylelemons avatar Jun 20 '11 21:06 kylelemons

I was reading this on the gonuts group. Having a formal spec of Gypsy would be nice to have people using it. I would love to have config files in YAMLish form. Spyc is a simple YAML parser in PHP and it's pretty small:

http://code.google.com/p/spyc/

that supports the full 1.0 YAML spec and it's used in many projects. YAML 1.0 may be too much but it is pretty simple (a TON simpler that YAMLl 1.1 or 1.2) and might be a good start.

http://yaml.org/spec/1.0/

And just start stripping away, leaving just the part of the specification that makes sense to the user config files needs. That can be the way to go to avoid writing a full formal specification.

phrozen avatar Apr 13 '12 18:04 phrozen

I haven't closed this because it's not 100% accurate, but there is a pretty-near-formal spec in the README and doc.go.

kylelemons avatar Apr 14 '12 05:04 kylelemons