aroberge / ideas

Easy creation of custom import hooks to experiment on alternatives to Python's syntax; see https://aroberge.github.io/ideas/docs/html/
Other
76 stars 5 forks source link

Add "comprehensive builder" example #23

Open aroberge opened 2 years ago

aroberge commented 2 years ago

Generalize experimental_syntax_encoding.py, but use an import hook, to build a list of tranformers. Perhaps use somethine like the following:

from ideas-examples import ...  # from ideas.examples
from experimental-ideas import ...  # from anywhere on sys.path