From: Steve Howell <showell@ha...> - 2002-03-10 15:51:58
I've been working on a Python implementation of a YAML parser. It still has a
long way to go, but it can now parse A1 through A6 and B1 through B4 of the YAML
fully recursive keyed/series sequences
strings, date, floats
simple alias support
Still to go:
other transfer types
If anybody knows a Python programmer looking for a small project, it would be
good to have a Python YAML emitter. It should be pretty simple to
implement--you basically just recursively walk Python data structures.
I consider the parser functional enough to start building other tools on top of
it. For example, some one could build a simple YAML-RPC prototype. Another
possibility is simple YQL engine (YQL = YAML Query Language).
From: Clark C . Evans <cce@cl...> - 2002-03-10 20:17:39
On Sun, Mar 10, 2002 at 10:43:45AM -0500, Steve Howell wrote:
| I've been working on a Python implementation of a YAML parser.
Neat. I actually have a wee bit of time to look at it, so if
you want to forward on the code that'd be cool.
| Current features:
| fully recursive keyed/series sequences
| strings, date, floats
| simple alias support
| multiple documents
| comments ignored
| For example, some one could build a simple YAML-RPC prototype. Another
| possibility is simple YQL engine (YQL = YAML Query Language).
I was thining. Perhaps YPATH should be "predicate free", it
would very much limit the power, but perhaps this power belongs
in YQL. It would make a nice segregation:
where: YPATH + ARITHEMETIC + LOGIC + etc.
This would keep YPATH simple, and in those cases where
you really have some serious result set; perhaps you
use YQL. Hmm. Nice!