Commit Graph

6 Commits

Author SHA1 Message Date
Mark Brown
d465fa53cb Update the COPYING.LIB file and references to it.
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.
2018-06-09 17:43:12 +10:00
Zoltan Somogyi
812b961eb0 Fix misspellings in comments. 2016-04-05 00:42:02 +10:00
Zoltan Somogyi
587d593d7f Document the modules of the grade library. 2016-04-01 20:41:09 +11:00
Zoltan Somogyi
c043699b60 Put the modules of the grade library into a package. 2016-04-01 01:36:25 +11:00
Zoltan Somogyi
37acd29efb Add prelim support for diagnosing solver failures. 2016-02-19 07:35:04 +11:00
Zoltan Somogyi
17e55f4579 Use enums, not strings, for solver vars and values.
grade_lib/grade_state.m:
    This new module contains the representation of the state solver.
    It is imported by both grade_setup.m (which initializes that state) and
    grade_solver.m (which uses and updates that state).

    Make this state refer to solver vars and their values using the values
    of two enum types, not strings. This makes it much harder to accidentally
    use the wrong name for a solver var or value.

grade_lib/grade_spec.m:
    When specifying the set of solver variables and requirements, use
    types designed for that purpose, instead of parts of the solver state
    with the fields filled in with dummies.

grade_lib/choose_grade.m:
grade_lib/grade_setup.m:
grade_lib/grade_solver.m:
grade_lib/test_grades.m:
    Conform to the changes above.
2016-02-14 06:01:22 +11:00