compiler.assignment


compiler.assignment(name, value)
      

Return the intermediate language code required for assigning a new value to a variable.

Examples:


// let xyz = 123
eval(compiler.let_statement('xyz, 123))
xyz
// 123

// xyz = inc(xyz)
eval(compiler.assignment('xyz, compiler.call('inc, ['xyz])))
xyz
// 124
      

Also see:

compiler


Core Module Index | Contents