Sujet : Re: Lprint = ( Lisp-style printing ( of lists and strings (etc.) ) in Python )
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.lisp comp.lang.schemeDate : 24. Jun 2024, 07:42:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5b10v$pqf9$1@dont-email.me>
References : 1 2
User-Agent : Pan/0.158 (Avdiivka; )
On Mon, 24 Jun 2024 05:38:07 -0000 (UTC), Sebastian Wells wrote:
Unlike Lisp,
there's no reader that will give you the original structure from its
string representation without having to also evaluate it as code.
If that means what I think it means, it’s wrong. You can indeed compile
Python source to AST form without going all the way to bytecode.