Author pablogsal
Recipients BTaskaya, gvanrossum, lys.nikolaou, pablogsal, rhettinger
Date 2020-09-08.22:04:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599602649.34.0.63593004292.issue41746@roundup.psfhosted.org>
In-reply-to
Content
> I know it's moot now, but still -- what benefit do we get from using a "standard" like ASDL? All our tooling for it is custom for Python only.

I think there are other tools or implementations of Python that use standard parsers for our ASDL file.

In any case, AFAIU we don't need to modify the current ASDL definition as it already has type information that we need. For instance:

     | Block(int blocknum, stmt* stmts)

that says that stmts is a sequence of stmt objects, but unfortunately, this is translated as an "asdl_seq" type, losing the information that it can only contain stmt types. This is what I am planning to address here.
History
Date User Action Args
2020-09-08 22:04:09pablogsalsetrecipients: + pablogsal, gvanrossum, rhettinger, lys.nikolaou, BTaskaya
2020-09-08 22:04:09pablogsalsetmessageid: <1599602649.34.0.63593004292.issue41746@roundup.psfhosted.org>
2020-09-08 22:04:09pablogsallinkissue41746 messages
2020-09-08 22:04:09pablogsalcreate