RosettaCodeData/Task/Runtime-evaluation-In-an-environment/Transd/runtime-evaluation-in-an-environment.transd
2023-07-01 13:44:08 -04:00

10 lines
193 B
Text

#lang transd
MainModule: {
code: "(+ 5 x)",
_start: (lambda (textout
(- (to-Int (with x 100 (snd (eval code))))
(to-Int (with x 1 (snd (eval code)))))
))
}