-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a99e7cb
commit 2a73395
Showing
59 changed files
with
2,323 additions
and
1,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh | ||
# Guess values for system-dependent variables and create Makefiles. | ||
# Generated by GNU Autoconf 2.69 for Maude alpha153. | ||
# Generated by GNU Autoconf 2.69 for Maude alpha154. | ||
# | ||
# Report bugs to <[email protected]>. | ||
# | ||
|
@@ -580,8 +580,8 @@ MAKEFLAGS= | |
# Identity of this package. | ||
PACKAGE_NAME='Maude' | ||
PACKAGE_TARNAME='maude' | ||
PACKAGE_VERSION='alpha153' | ||
PACKAGE_STRING='Maude alpha153' | ||
PACKAGE_VERSION='alpha154' | ||
PACKAGE_STRING='Maude alpha154' | ||
PACKAGE_BUGREPORT='[email protected]' | ||
PACKAGE_URL='' | ||
|
||
|
@@ -1312,7 +1312,7 @@ if test "$ac_init_help" = "long"; then | |
# Omit some internal or obsolete options to make the list less imposing. | ||
# This message is too long to be a string in the A/UX 3.1 sh. | ||
cat <<_ACEOF | ||
\`configure' configures Maude alpha153 to adapt to many kinds of systems. | ||
\`configure' configures Maude alpha154 to adapt to many kinds of systems. | ||
Usage: $0 [OPTION]... [VAR=VALUE]... | ||
|
@@ -1383,7 +1383,7 @@ fi | |
|
||
if test -n "$ac_init_help"; then | ||
case $ac_init_help in | ||
short | recursive ) echo "Configuration of Maude alpha153:";; | ||
short | recursive ) echo "Configuration of Maude alpha154:";; | ||
esac | ||
cat <<\_ACEOF | ||
|
@@ -1490,7 +1490,7 @@ fi | |
test -n "$ac_init_help" && exit $ac_status | ||
if $ac_init_version; then | ||
cat <<\_ACEOF | ||
Maude configure alpha153 | ||
Maude configure alpha154 | ||
generated by GNU Autoconf 2.69 | ||
Copyright (C) 2012 Free Software Foundation, Inc. | ||
|
@@ -2013,7 +2013,7 @@ cat >config.log <<_ACEOF | |
This file contains any messages produced by compilers while | ||
running configure, to aid debugging if configure makes a mistake. | ||
It was created by Maude $as_me alpha153, which was | ||
It was created by Maude $as_me alpha154, which was | ||
generated by GNU Autoconf 2.69. Invocation command line was | ||
$ $0 $@ | ||
|
@@ -2962,7 +2962,7 @@ fi | |
|
||
# Define the identity of the package. | ||
PACKAGE='maude' | ||
VERSION='alpha153' | ||
VERSION='alpha154' | ||
|
||
|
||
cat >>confdefs.h <<_ACEOF | ||
|
@@ -6623,7 +6623,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
# report actual input values of CONFIG_FILES etc. instead of their | ||
# values after options handling. | ||
ac_log=" | ||
This file was extended by Maude $as_me alpha153, which was | ||
This file was extended by Maude $as_me alpha154, which was | ||
generated by GNU Autoconf 2.69. Invocation command line was | ||
CONFIG_FILES = $CONFIG_FILES | ||
|
@@ -6689,7 +6689,7 @@ _ACEOF | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
ac_cs_version="\\ | ||
Maude config.status alpha153 | ||
Maude config.status alpha154 | ||
configured by $0, generated by GNU Autoconf 2.69, | ||
with options \\"\$ac_cs_config\\" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# | ||
# Initialize autoconf stuff. | ||
# | ||
AC_INIT(Maude, alpha153, [[email protected]]) | ||
AC_INIT(Maude, alpha154, [[email protected]]) | ||
# | ||
# Allow directory names that look like macros. | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ EXTRA_DIST = \ | |
alpha150.txt \ | ||
alpha151.txt \ | ||
alpha152.txt \ | ||
alpha153.txt | ||
alpha153.txt \ | ||
alpha154.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
Alpha 154 release notes | ||
======================== | ||
|
||
Bug fixes | ||
========== | ||
|
||
(1) The command | ||
set print const with sorts on . | ||
introduced alpha 126 released 11/22/2019 was implemented for all | ||
kinds of constants when printing dag nodes but only regular constants | ||
and not built-in constants when printing terms. This shows up in the | ||
following example: | ||
|
||
fmod FOO is inc NAT . | ||
eq 0 = 0 . | ||
eq 1 = 1 . | ||
endfm | ||
|
||
set print const with sorts on . | ||
|
||
show desugared . | ||
|
||
Here 0 is a regular constant but 1 is a special constant that is really | ||
s 0. This omission is now fixed. | ||
|
||
(2) A bug where colors generated for operators with various attributes | ||
generated bad LaTeX when printed as in terms: | ||
|
||
fmod FOO is | ||
sort Foo . | ||
op foo : Foo Foo -> Foo [assoc comm] . | ||
op bar : Foo Foo -> Foo [assoc] . | ||
ops a b c : -> Foo . | ||
eq foo(a, b) = bar(c, c) . | ||
endfm | ||
|
||
set print color on . | ||
|
||
show desugared FOO . | ||
|
||
Here the terminal color sequence was being used rather than the LaTeX one. | ||
|
||
(3) A very obscure bug where sort disambiguation of iter symbols used | ||
the wrong font for the sort. Triggered by this rather dubious example: | ||
|
||
fmod FOO is | ||
sort Foo . | ||
op s : Foo -> Foo [iter] . | ||
op 0 : -> Foo . | ||
sort Bar . | ||
op s^2 : Foo -> Bar . | ||
eq s(s(0)) = 0 . | ||
endfm | ||
|
||
show desugared . | ||
|
||
New features | ||
============= | ||
|
||
(1) There is a new constant | ||
op with-sorts : -> PrintOption [ctor] . | ||
in META-LEVEL that is the metalevel equivalent of | ||
set print const with sorts on . | ||
i.e. each constant in the printed term will have sort disambiguation. | ||
|
||
(2) There is a new descent function | ||
op metaPrintToString : Module VariableSet Term PrintOptionSet QidSet ~> String [special (...)] . | ||
that works like metaPrettyPrint() except that it prints to a string. | ||
Here the final argument is a set of operator names whose arguments | ||
should be concealed. There is no PrintOption constant for the print | ||
concealed flag - it is implicitly assumed to be true if the QidSet is | ||
non-empty. | ||
|
||
(3) The meta-interpreter has a new pair of messages | ||
op printTermToString : Oid Oid Qid VariableSet Term PrintOptionSet QidSet -> Msg [ctor msg format (b o)] . | ||
op printedTermToString : Oid Oid String -> Msg [ctor msg format (m o)] . | ||
that provide similar functionality for meta-interpreter objects. | ||
|
||
Other changes | ||
============== | ||
|
||
(1) The printTokens() function in fmod LEXICAL now prints space in front | ||
of ( [ { unless the previous token was ( [ { | ||
|
||
(2) Printing of raw tokens for unparsed statements and identities with | ||
show module now print space in front of ( unless the previous token was | ||
( [ {. This was already done for [ {. This change is for both text and | ||
LaTeX output. | ||
|
||
(3) The descent function metaPrettyPrint() now takes an extra QidSet | ||
argument to indicate which operators should have the arguments concealed. | ||
|
||
op metaPrettyPrint : Module VariableSet Term PrintOptionSet Qid ~> QidList [special (...)] . | ||
|
||
For backward compatibility there is also: | ||
|
||
op metaPrettyPrint : Module VariableSet Term PrintOptionSet ~> QidList . | ||
eq metaPrettyPrint(M:Module, VS:VariableSet, T:Term, P:PrintOptionSet) = | ||
metaPrettyPrint(M:Module, VS:VariableSet, T:Term, P:PrintOptionSet, none) . | ||
|
||
(4) The meta-interpreter message printTerm() now takes an extra QidSet | ||
argument to indicate which operators should have the arguments concealed. | ||
|
||
op printTerm : Oid Oid Qid VariableSet Term PrintOptionSet QidSet -> Msg [ctor msg format (b o)] . | ||
|
||
For backward compatibility there is also: | ||
|
||
op printTerm : Oid Oid Qid VariableSet Term PrintOptionSet -> Msg [ctor msg format (b o)] . | ||
eq printTerm(T:Oid, M:Oid, Q:Qid, VS:VariableSet, T:Term, P:PrintOptionSet) = | ||
printTerm(T:Oid, M:Oid, Q:Qid, VS:VariableSet, T:Term, P:PrintOptionSet, none) . | ||
|
||
(5) Printing of terms (as opposed to dags) such as in modules, now supports | ||
set print conceal on . | ||
for both text and LaTeX output. Previously this only worked for dags. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.