Closed as not planned
Description
Feature or enhancement
It uses dynamic code generation and executing of it, but the code itself is generated as a string.
Pitch
May bring the following benefits:
- performance and overhead: no need to parse the code onto AST
- readability and modularity - ast is manipulated as objects
- security -
astclasses ctors can be made verifying that the strings used as names don't contain any chars unallowed in the and are not the same as keywords, this way reducing the possibilities to inject malicious code when the names are supplied from untrusted source.