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.
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.