extras/moose/moose.m:
Emit an import of the string module since the generated code
contains calls to string.format.
Omit the import of std_util from the generated code as that is
no longer required.
extras/moose/samples/cgram.moo:
We no longer need to import the string module here.
extras/moose/tests/array_based.moo:
Syntax and formatting cleanup
extras/moose/mercury_syntax.m:
Import the mercury_term_parser modules.
extras/moose/moose.m:
Replace calls to io.see etc. (Using explicit stream arguments
would be better, but is future work.)
extras/moose/tests/array_based.moo:
Replace a call to a deleted predicate.
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.
extras/*/*.m:
Replace the use of '__' as a module qualifier in the rest of
the extras.
s/io\.state/io/ in the extras.
Use '=' instead of is/2 in a spot.
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/moose/moose.m:
Fix a bug introduced by petr's last change: put back the
`:- import_module list.' declaration, since it is needed for
the references to `[]', `[|]', `list', and `list_skel'.
But put it back in the implementation section rather than in
the interface section, because it is not needed by the interface.
extras/moose/tests/Mmakefile:
extras/moose/tests/array_based.moo:
Add a regression test.