Creating ast for code manually isn't easy and error prone, so it would be nice to implement something like snippets:
@snippet
def my_snippet(class_name, body):
class class_name: # replace class_name with value of `class_name`
extend(body) # extend class body with `body`
let(x) # declare variable with unique name
x = 10
Creating ast for code manually isn't easy and error prone, so it would be nice to implement something like snippets: