Author rhettinger
Recipients BTaskaya, gvanrossum, lys.nikolaou, pablogsal, rhettinger
Date 2020-09-08.20:49:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Within standard ASDL, the sequences already have an ASDL type.  Here's a snippet that shows both builtin types and derived types:

start = Program(stmt* procs, expr* calls)

stmt = Procedure(identifier name, identifier* params, bool is_test, stmt body)
     | Block(int blocknum, stmt* stmts)
     | Assign(lvalue target, expr value)
     | If(expr cond, stmt action)
     | Loop(int times, bool fixed, body stmt)
     | AbortLoop(int blocknum)
     | QuitBlock(int blocknum)

expr = BinOp(expr value1, str op, expr value2)
     | Number(int x)
     | Bool(bool x)
     | Id(identifier name)
     | Call(identifier name, expr* args)
     | lvalue

lvalue = Output(bool is_bool)
       | Cell(int i)
Date User Action Args
2020-09-08 20:49:03rhettingersetrecipients: + rhettinger, gvanrossum, lys.nikolaou, pablogsal, BTaskaya
2020-09-08 20:49:03rhettingersetmessageid: <>
2020-09-08 20:49:03rhettingerlinkissue41746 messages
2020-09-08 20:49:03rhettingercreate