Dianne Skoll
9d42879170
Make "value" constant iff variable exists and is constant.
...
Otherwise, it's non-constant.
2025-05-26 22:22:49 -04:00
Dianne Skoll
1e3657b728
Overhaul how IF/ELSE work so we can track "constant-ness" of variables.
...
We now keep track of whether a variable holds a "constant" value
(ie, a value that will stay the same on successive Remind runs)
so Purge Mode can be more accurate.
2025-05-20 22:11:39 -04:00
Dianne Skoll
31c8893a2a
Add tests for non-const-expression debugging output.
2025-05-20 12:03:53 -04:00
David F. Skoll
3bc1b5bd46
Clean up tests; add test for non-parseable line in purge mode.
2010-04-21 13:30:10 -04:00
David F. Skoll
b266b399ba
Test for fix of parse error.
...
Try REALLY hard to detect constant expressions...
2010-04-21 13:23:26 -04:00
David F. Skoll
d05d85b243
More tests.
2010-04-21 09:04:48 -04:00
David F. Skoll
a1faa8d804
Finish up Purge Mode:
...
o Make it recognize constant expressions (yay!)
o Make it not add a blank line to end of *.purged files.
o Make it nuke #!P comments in the source files.
2010-04-21 09:02:25 -04:00
David F. Skoll
70adbf90c2
Add tests for purge mode.
2010-04-20 15:20:49 -04:00
David F. Skoll
501c04f4b6
More work on purge mode.
2010-04-20 14:01:54 -04:00
David F. Skoll
d294e62be1
More work on purge mode.
2010-04-20 11:34:07 -04:00