Back... Pytyp + future Lepl

9 views
Skip to first unread message

andrew cooke

unread,
May 19, 2011, 8:55:24 AM5/19/11
to le...@googlegroups.com
I just finished working on pytyp - a way to add type-related metadata to Python.  You can see more info at http://www.acooke.org/pytyp (also http://www.acooke.org/pytyp.pdf)

So now it's back to Lepl.  The plan is:
* First, for 5.1, look at Antlr inter-op
* Next, for 6, extend RXPY (http://www.acooke.org/rxpy) to return multiple matches and then incorporate that into Lepl.  The idea here is to make something that should (1) fix the speed "bug" related to parsing floats and (2) be fast on Pypy.

Andrew

Luca

unread,
May 23, 2011, 4:23:08 AM5/23/11
to lepl
Hi Andrew,

thank you for these libraries : being a previous java programmer, I
find pytyp (and declarative programming in general) very
interesting :-)

Being also a previous xml user, I still lack the presence in yaml/json
of a grammar validation (useful when doing data exchange between
different companies) : the only one I could actually find was Rx :
http://rx.codesimply.com/ but it hasn't yet published an official
release.

I am simply talking to share ideas, do you think that pytyp could one
day be the basis for automatic serialisation/validation between yaml/
json and python objets ? xml-rpc data types could probably be another
application field...

Thank you for these efforts, if you need any hint about the Antlr
parser, I would gladly collaborate :-)

Best Regards,
Luca

On 19 mai, 14:55, andrew cooke <and...@acooke.org> wrote:
> I just finished working on pytyp - a way to add type-related metadata to
> Python.  You can see more info athttp://www.acooke.org/pytyp(alsohttp://www.acooke.org/pytyp.pdf)

andrew cooke

unread,
May 23, 2011, 9:07:48 AM5/23/11
to le...@googlegroups.com

yup - already does that:
http://www.acooke.org/pytyp/pytyp.s11n.json.html#module-pytyp.s11n.json

(it used to be in the summary/abstract, but somehow got edited out...)

andrew

> --
> You received this message because you are subscribed to the Google Groups "lepl" group.
> To post to this group, send email to le...@googlegroups.com.
> To unsubscribe from this group, send email to lepl+uns...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/lepl?hl=en.
>

Reply all
Reply to author
Forward
0 new messages