Open
Description
We should provide the following command line options so that testing by hand with lpython
is easier,
--safe
- Basically debug mode by hand. Will automatically enable options like,--enable_bounds_checking
,--check_integer_overflow
(not sure if it is already there),--raise_key_errors
(isn't there but to be added),--memory_safety
(isn't there but I mean ensures memory safety in the generated code) if--safe
is passed in the command line. Should be turned on by default in my opinion.--fast --safe
- Keeps safe check enabled but tries to optimise as much as possible. See, Clarify the "LPython contract" in the docs #1139.--fast
- No safety checks enabled in this case. The code is as high performance as possible.
cc: @certik
Metadata
Metadata
Assignees
Labels
No labels