mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 03:43:51 +00:00
Estimated hours taken: 2
Added support for negation in conditions (run_time and compile_time) for trace
goals.
compiler/mercury_to_mercury.m:
Output negated conditions.
compiler/ml_code_gen.m:
compiler/pragma_c_gen.m:
Test for negated conditions at run time.
compiler/prog_data.m:
Modified type definition for trace_expr/1 to include negation.
compiler/prog_io_goal.m:
Parsing of negated expressions.
compiler/simplify.m:
Compile-time evaluation of conditions with negation.
doc/reference_manual.texi:
Announced negation. Fixed a copy-paste typo in description of run-time
conditions.
tests/hard_coded/trace_goal_env_3.m:
Added a simple test for negation.
tests/hard_coded/trace_goal_env_3.exp:
Expected result if env-vars are not set.
tests/hard_coded/Mmakefile:
Enabled trace_goal_env_3.
tests/invalid/trace_goal_env.m:
Added a simple malformed trace goal condition.
tests/invalid/trace_goal_env.err_exp:
Expected error message.
tests/invalid/Mmakefile:
Enabled trace_goal_env for C-generating backends only.
2 lines
10 B
Plaintext
2 lines
10 B
Plaintext
A: 43xx44
|