Commit Graph

5 Commits

Author SHA1 Message Date
Zoltan Somogyi
056d2213af Avoid using some Mercury keywords.
browser/browser_info.m:
    Avoid using "output" (and "input", for the sake of symmetry)
    as function symbols.

browser/debugger_interface.m:
    Avoid using "pred" and "func" as function symbols by putting a prefix
    before each function symbol in the affected type.

browser/dl.m:
    Avoid using "local" (and "global", again for symbols) as function symbols.

profiler/output_prof_info.m:
    Avoid using "output" as a type name and as a function symbol.

browser/browse.m:
browser/collect_lib.m:
browser/declarative_user.m:
browser/interactive_query.m:
profiler/generate_output.m:
profiler/output.m:
    Conform to the changes above.

extras/morphine/source/browse.op:
extras/morphine/source/collect.op:
extras/morphine/source/current_arg.op:
extras/morphine/source/current_slots.op:
extras/morphine/source/exec_control.op:
extras/morphine/source/forward_move.op:
extras/morphine/source/interactive_queries.op:
    Conform to the renames of the function symbols in debugger_interface.m.

    Since this code is in Prolog, I cannot be sure that I changed all the
    places that should be changed, but that does not matter much.

    Since Morphine was designed to work with the Prolog dialects of 1999,
    had its last update in 2002, and we never test it, it is very likely
    that it hasn't worked in a long time. We keep it around because
    (a) it may interest someone, and (b) it doesn't require significant
    maintenance. The fact that it does not run may be regrettable, but
    it is not actually regretted by many would-be users, or (even) any at all.

    (I actually noticed and fixed a bug while doing the above change:
    it was a typo in a function symbol name.)
2016-05-13 09:07:58 +10:00
Erwan Jahier
64ab913835 Replace occurrences of "INSA" by "INSA de Rennes" since Morphine is an "INSA de
Estimated hours taken: 1

Replace occurrences of "INSA" by "INSA de Rennes" since Morphine is an "INSA de
Rennes" software, not an "INSA" one.


*:
*/*:
	/s/INSA/INSA de Rennes/

scripts/exec_mercury_program:
	Remove some useless I/O wrapping of Mercury execution runs.

source/collect.op:
	Improve a litte bit the documentation of collect/2.
1999-12-20 14:44:17 +00:00
Erwan Jahier
a74a703043 Put Morphine under the GNU/GPL licence. Also replace a few remaining
Estimated hours taken: 1

Put Morphine under the GNU/GPL licence. Also replace a few remaining
occurrences of Opium-M by Morphine.

morphine/Licence:
	File containing a copy of the GNU/GPL licence.

morphine/INSTALL-MORPHINE:
morphine/source/*.pl:
morphine/source/*.op:
	Add 2 lines in each file header that state that Morphine is under
	the GNU/GPL Licence.

morphine/copyright.txt:
	Change this file in such a way that Morphine is now under GNU/GPL.


morphine/INSTALL-MORPHINE:
morphine/README:
morphine/source/load_morphine.pl:
morphine/source/load_morphine.pl:
morphine/source/morphine_kernel.op
	Replace a few remaining occurrences of Opium-M by Morphine.
1999-12-16 18:13:45 +00:00
Fergus Henderson
0d9317425a Rename all occurrences of Opium-M by Morphine.
Estimated hours taken: 6

(Committed by fjh on behalf of Erwan Jahier.)

morphine/*:
morphine/non_regression_tests/*:
morphine/source/*:
        Rename all occurrences of Opium-M by Morphine.

morphine/source/:
        Rename opium_m_kernel.op into morphine_kernel.op, load_opium.pl
        into load_morphine.pl and load_opium_without_banner.pl into
        load_morphine_without_banner.pl.
1999-12-15 13:40:49 +00:00
Tyson Dowd
c76db04aab Add Opium-M in the extras. (committed on behalf of Erwan Jahier).
Estimated hours taken: 1000

Add Opium-M in the extras.  (committed on behalf of Erwan Jahier).

extras/opium_m/copyright.txt:
	The copyright for Opium-M.

extras/opium_m/VERSION:
extras/opium_m/README:
extras/opium_m/opium-mode.el:
	An emacs mode designed to write opium scenario.

extras/opium_m/INSTALL-OPIUM-M:
	Opium-M installation script.


extras/opium_m/source/interactive_queries.op:
extras/opium_m/source/browse.op:
extras/opium_m/source/control_flow.op:
extras/opium_m/source/coprocess_M.op:
extras/opium_m/source/opium_kernel_M.op:
extras/opium_m/source/current_arg_M.op:
extras/opium_m/source/current_slots_M.op:
extras/opium_m/source/display_M.op:
extras/opium_m/source/source_M.op:
extras/opium_m/source/event_attributes_M.op:
extras/opium_m/source/step_by_step_M.op:
extras/opium_m/source/exec_control_M.op:
extras/opium_m/source/forward_move_M.op:
extras/opium_m/source/load_Opium-M.pl:
extras/opium_m/source/make_scenario-M.pl:
extras/opium_m/source/load_Opium-M_without_banner.pl:
extras/opium_m/source/load_scenario-M.pl:
	The Opium-M source files.

extras/opium_m/source/partch.autoload:
extras/opium_m/source/partch.interface:
extras/opium_m/source/partch.parameter:
extras/opium_m/source/partch.scenario_handler:
extras/opium_m/source/partch.error:
extras/opium_m/source/partch.types:
extras/opium_m/source/partch.translate:
extras/opium_m/source/partch.util.pl:
extras/opium_m/source/partch.make:
extras/opium_m/source/partch.scenario:
	Patches to create the scenario handler for Opium-M. autoload.op,
	etc.  are part of the Eclipse distribution; to avoid licensing
	issues, we copy thoses files from the Eclipse installation
	directory during the installation and then we patch them using
	those files.


extras/opium_m/non-regression-tests/*:
	Non regression tests for Opium-M.

extras/opium_m/non-regression-tests/queens.m:
extras/opium_m/non-regression-tests/test_vars.m:
extras/opium_m/non-regression-tests/test_listing.m:
	Mercury files that are tested.

extras/opium_m/non-regression-tests/browse.in:
extras/opium_m/non-regression-tests/queens.in:
extras/opium_m/non-regression-tests/test_vars.in:
	Input of the non regression tests.

extras/opium_m/non-regression-tests/queens.exp:
extras/opium_m/non-regression-tests/test_vars.exp:
extras/opium_m/non-regression-tests/listing_output.exp:
	Expected output of the non regression tests.

extras/opium_m/non-regression-tests/runtests:
extras/opium_m/non-regression-tests/Mmakefile:
	To perform the non regression tests.

extras/opium_m/non-regression-tests/Mmake.common:
extras/opium_m/non-regression-tests/shutdown:
extras/opium_m/non-regression-tests/startup:
extras/opium_m/non-regression-tests/handle_options:
	Those files are copied from the Mercury tests repository.


extras/opium_m/scripts/exec_mercury_program:
	Script that is used to run Mercury programs under the control of
	Opium-M.

extras/opium_m/scripts/fixmanual:
	Script that patch the output of `manual' command (which automaticly
	generates the Opium-M Reference Manual).
1999-11-11 04:52:27 +00:00