erg_compiler 0.6.53

Centimetre: the Erg compiler
Documentation
1
2
3
4
5
6
7
8
9
'''
Evaluate a string as Python code.
'''
.pyeval: (code: Str, globals := {Str: Obj}, locals := {Str: Obj}) -> Obj
'''
Execute the procedure circumventing effect analysis.
If you want to use side effects locally in a function, use the `isolate` function instead.
'''
.perform: |T|(p!: () => T) -> T