-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
It would be nice to also support ast.Node directly, because I created a package uneval which can generate ast. It can also generate str (through ast.unparse), but if pytexit supported ast directly it avoids converting back and forth. It would require a change to the preprocessing function that currently works on str-level to remove prefixes, but I think this logic can also be done on ast-level.
Or even accept uneval directly, so this works:
from uneval import quote as q
py2tex(q.x ** 2 + 1)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels