benchmarks/progs/icfp2000_par/main.m:
benchmarks/progs/mandelbrot/mandelbrot.m:
benchmarks/tools/log_to_r/log_to_r.m:
extras/align_right/align_right.m:
extras/error/error.m:
extras/gator/evolve.m:
extras/moose/options.m:
samples/concurrency/midimon/midimon.m:
samples/diff/diff.m:
samples/muz/muz.m:
Conform to getopt.process_options now returning structured errors
instead of strings.
extras/error/error.m:
Use the '% ...' comment style if the new option -p (percent) is given.
Start using getopt to process options.
Default to processing standard input in the absence of filename options.
Improve comments and programming style.
Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.
COPYING.LIB:
Add a special linking exception to the LGPL.
*:
Update references to COPYING.LIB.
Clean up some minor errors that have accumulated in copyright
messages.
Remove old .cvsignore files, moving their contents to .gitignore files.
There are now no .cvsignore files in the repository.
I've also sorted some .gitignore files and avoided repeating a pattern in a
subdirectory's .gitignore file when it is already mentioned in the parent
.gitignore file.
This file-specific setting will override a default setting of expandtabs
in $HOME/.vimrc.
*/Makefile:
*/Mmakefile:
As above.
tests/hard_coded/.gitignore:
Don't ignore the purity subdir. This ignore must have been left over
from when purity.m was a test in hard_coded, not hard_coded/purity,
and it ignored an executable, not a directory.
This is a consecutive patch to my previous patch, it extends the .gitignore
files to work more thoroughly on Windows.
browser/.gitignore:
ignore .net .dll assemblies
compiler/.gitignore:
ignore *.obj
extras/.gitignore:
Ignore the tags directory
Ignore: *.bat, *.lib,
Ignore *.dll rather than lib*.dll because the .net assemblies are not
prefixed.
extras/dynamic_linking/.gitignore:
Ignore *.out (test output files)
extras/error/.gitignore:
Ignoring unix binary for the error utility
extras/lex/tests/.gitignore:
Ignore the test_regex binary
extras/moose/tests/.gitignore:
Ignore array_based.m because it is generated from array_based.moo
Estimated hours taken: 1
Branches: main
extras/error/error.m:
Update this program to conform to our current style guide. Convert to
four-space indentation, replace DCGs with state variables, replace
io.see and io.tell with io.open_input and io.open_output, simplify
the code by using library functions when possible, avoid unnecessarily
wrapping data structures in maybes, use map.det_insert or
map.det_update instead of map.set where possible, and use better
names for variables and types.
extras/error/Mmakefile:
Link the Mercury libraries statically, to allow the libraries error is
linked again to be deleted (e.g. because they are superseded by newer
versions at other pathnames) without error ceasing to work.
Estimated hours taken: 0.1
Branches: main
Fix compilation of extras/error.
extras/error/error.m:
Rename the type error.line/0 to error.line_number/0 since the former
now conflicts with the recently added standard library type
string.line/0.
Estimated hours taken: 0.1
Branches: main, release
extras/error/error.m:
Avoid a purity problems by using the new foreign language interface
here.
Use MR_{YES,NO} instead of hardcoding 1 and 0.
Estimated hours taken: 0.5
Branches: main
Fix compilation problems in the extras distribution caused by recent
changes.
extras/stream/stream.m:
Provide a definition for the type stream/1.
extras/*/*.m:
Conform to the recent changes to the standard library.
Estimated hours taken: 0.2
Branches: main
extras/error/error.m:
extras/error/Mmakefile:
extras/error/README:
Add Tom and Tyson's error program to the repository.