mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-18 07:15:19 +00:00
Estimated hours taken: 10 Some scripts to change some labels of the format foo__bar to module__foo_bar, in both the library and the compiler. None of these scripts are executable, and need to be run with ~fjh/bin/scripts/apply_sed_script. The scope of files listed below is an indication of the files affected when these scripts are run on mercury/*/*.[mp]*. scripts/remove____from_compiler.sedscript Remove instances of foo__bar from .m and .pp files in the compiler/ directory. scripts/remove____from_library.sedscript romove instances of foo__bar from .m files in the library/ and compiler/ directories. scripts/replace_compiler___.sedscript Undo the compiler-specific changes above. scripts/replace_library___.sedscript Undo the library changes in the compiler/ and library/ directories.
9 lines
234 B
Plaintext
9 lines
234 B
Plaintext
s/term_atom/term__atom/g
|
|
s/term_string/term__string/g
|
|
s/term_integer/term__integer/g
|
|
s/term_float/term__float/g
|
|
s/term_context/term__context/g
|
|
s/term_functor/term__functor/g
|
|
s/term_variable/term__variable/g
|
|
s/std_util__bool_/bool__/g
|