Open ghost opened 7 years ago
We should do something like Python 2's raw_input and input, where the much simpler to type input
is incredibly dangerous, while the uglier and harder to type raw_input
is safe.
So what should the 'dangerous' one do?
Just like the one in Python 2, treat it as an expression.
What about if the program is compiled? Do we embed an entire CIC into the program?
Isn't that what Python freezing does?
Isn't that with bytecode, though? So it has to do that anyway, so it's not much trouble to allow eval
, exec
, etc.
Do we do it similar to how we're doing output? i.e.