NiklasRosenstein / python-builddsl

A superset of the Python programming language with support for closures and multi-line lambdas
https://niklasrosenstein.github.io/craftr-dsl/
MIT License
2 stars 2 forks source link

Make `craftr.dsl._transpiler.NameRewriter` public API #13

Closed NiklasRosenstein closed 2 years ago

NiklasRosenstein commented 2 years ago

This is quite the useful class if you want to implement dynamic name resolution in Python code, if you don't want to run it as Craftr code.

NiklasRosenstein commented 2 years ago

As part of 0.8.13, there is a craftr.dsl.ast_utils module which provides the DynamicLookupRewriter.