crdoconnor / dumbyaml

Deprecated. Please see https://github.com/crdoconnor/strictyaml/
MIT License
3 stars 2 forks source link

Thinking alike #1

Open pombredanne opened 9 years ago

pombredanne commented 9 years ago

FWIW I wrote something in the same spirit ... YAML and Pyyaml are way too complicated for the typical usage: https://github.com/nexB/scancode-toolkit/blob/e243767f5ccd67674c1d3d0df8698a10cba419ee/src/licensedcode/saneyaml.py

crdoconnor commented 9 years ago

Ha. That's awesome.

Good to know I'm not the only one.

pombredanne commented 9 years ago

Actually there is a rather large number of similar PyYAML enhancements... so much so that I wonder if we could join forces and start a fork of PyYAML that would leave out of the "junk" parts out of it?

pombredanne commented 9 years ago

I had written this README a few months ago ;) https://gist.github.com/pombredanne/d97ff0435dfa755461d8

crdoconnor commented 9 years ago

Sounds good to me.

From what I understand PyYAML is actually just following the YAML spec. It actually seems pretty decent underneath, it's just the spec which needs fixing.

crdoconnor commented 9 years ago

I tried searching for other similar enhancements. I didn't think I could be the only one before, but I couldn't find anything. Do you know where I could find the others?

pombredanne commented 9 years ago

crdoconnor commented an hour ago I tried searching for other similar enhancements. I didn't think I could be the only one before, but I couldn't find anything. Do you know where I could find the others?

I found several. See the bottom of this gist https://gist.github.com/pombredanne/d97ff0435dfa755461d8

crdoconnor commented 9 years ago

Ok cool. Maybe we could rope them in too.