aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure18
-rw-r--r--configure.ac2
-rw-r--r--configure.ac.pamphlet2
-rw-r--r--src/interp/ChangeLog6
-rw-r--r--src/interp/br-saturn.boot116
-rw-r--r--src/interp/postpar.boot1
6 files changed, 17 insertions, 128 deletions
diff --git a/configure b/configure
index 7619ca08..4f758971 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for OpenAxiom 1.1.0-2007-12-06.
+# Generated by GNU Autoconf 2.60 for OpenAxiom 1.1.0-2007-12-09.
#
# Report bugs to <open-axiom-bugs@lists.sf.net>.
#
@@ -713,8 +713,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='OpenAxiom'
PACKAGE_TARNAME='openaxiom'
-PACKAGE_VERSION='1.1.0-2007-12-06'
-PACKAGE_STRING='OpenAxiom 1.1.0-2007-12-06'
+PACKAGE_VERSION='1.1.0-2007-12-09'
+PACKAGE_STRING='OpenAxiom 1.1.0-2007-12-09'
PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net'
ac_unique_file="src/Makefile.pamphlet"
@@ -1388,7 +1388,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 OpenAxiom 1.1.0-2007-12-06 to adapt to many kinds of systems.
+\`configure' configures OpenAxiom 1.1.0-2007-12-09 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1458,7 +1458,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OpenAxiom 1.1.0-2007-12-06:";;
+ short | recursive ) echo "Configuration of OpenAxiom 1.1.0-2007-12-09:";;
esac
cat <<\_ACEOF
@@ -1562,7 +1562,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OpenAxiom configure 1.1.0-2007-12-06
+OpenAxiom configure 1.1.0-2007-12-09
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1576,7 +1576,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 OpenAxiom $as_me 1.1.0-2007-12-06, which was
+It was created by OpenAxiom $as_me 1.1.0-2007-12-09, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -25203,7 +25203,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OpenAxiom $as_me 1.1.0-2007-12-06, which was
+This file was extended by OpenAxiom $as_me 1.1.0-2007-12-09, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -25252,7 +25252,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-OpenAxiom config.status 1.1.0-2007-12-06
+OpenAxiom config.status 1.1.0-2007-12-09
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.ac b/configure.ac
index 39ea287b..6c388747 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.1.0-2007-12-06],
+AC_INIT([OpenAxiom], [1.1.0-2007-12-09],
[open-axiom-bugs@lists.sf.net])
AC_CONFIG_AUX_DIR(config)
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index 64571985..b8af29ab 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -1010,7 +1010,7 @@ information:
<<Autoconf init>>=
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.1.0-2007-12-06],
+AC_INIT([OpenAxiom], [1.1.0-2007-12-09],
[open-axiom-bugs@lists.sf.net])
@
diff --git a/src/interp/ChangeLog b/src/interp/ChangeLog
index 43b6b849..34dafa84 100644
--- a/src/interp/ChangeLog
+++ b/src/interp/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-09 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * br-saturn.boot (compDefineCapsuleFunction): Remove.
+ (postSignature): Likewise.
+ (postDoubleSharp): Likewise.
+
2007-12-08 Gabriel Dos Reis <gdr@cs.tamu.edu>
Add support for quasiquotation.
diff --git a/src/interp/br-saturn.boot b/src/interp/br-saturn.boot
index f7f071f0..1a3c653f 100644
--- a/src/interp/br-saturn.boot
+++ b/src/interp/br-saturn.boot
@@ -1638,122 +1638,6 @@ dbSort(x,y) ==
OBEY STRCONC('"rm ", sin, '".text")
---=======================================================================
--- from define.boot
---=======================================================================
-----------------------> (override in define.boot.pamphlet)
-compDefineCapsuleFunction(df is ['DEF,form,signature,specialCases,body],
- m,oldE,$prefix,$formalArgList) ==
- [lineNumber,:specialCases] := specialCases
- e := oldE
- --1. bind global variables
- $form: local
- $op: local
- $functionStats: local:= [0,0]
- $argumentConditionList: local
- $finalEnv: local
- --used by ReplaceExitEtc to get a common environment
- $initCapsuleErrorCount: local:= #$semanticErrorStack
- $insideCapsuleFunctionIfTrue: local:= true
- $CapsuleModemapFrame: local:= e
- $CapsuleDomainsInScope: local:= get("$DomainsInScope","special",e)
- $insideExpressionIfTrue: local:= true
- $returnMode:= m
- [$op,:argl]:= form
- $form:= [$op,:argl]
- argl:= stripOffArgumentConditions argl
- $formalArgList:= [:argl,:$formalArgList]
-
- --let target and local signatures help determine modes of arguments
- argModeList:=
- identSig:= hasSigInTargetCategory(argl,form,first signature,e) =>
- (e:= checkAndDeclare(argl,form,identSig,e); rest identSig)
- [getArgumentModeOrMoan(a,form,e) for a in argl]
- argModeList:= stripOffSubdomainConditions(argModeList,argl)
- signature':= [first signature,:argModeList]
- if null identSig then --make $op a local function
- oldE := put($op,'mode,['Mapping,:signature'],oldE)
-
- --obtain target type if not given
- if null first signature' then signature':=
- identSig => identSig
- getSignature($op,rest signature',e) or return nil
-
- --replace ##1,.. in signature by arguments
--- pp signature'
- signature':= SUBLISLIS(argl,$FormalFunctionParameterList,signature')
--- pp '"------after----"
--- pp signature'
- e:= giveFormalParametersValues(argl,e)
-
- $signatureOfForm:= signature' --this global is bound in compCapsuleItems
- $functionLocations := [[[$op,$signatureOfForm],:lineNumber],
- :$functionLocations]
- e:= addDomain(first signature',e)
- e:= compArgumentConditions e
-
- if $profileCompiler then
- for x in argl for t in rest signature' repeat profileRecord('arguments,x,t)
-
-
- --4. introduce needed domains into extendedEnv
- for domain in signature' repeat e:= addDomain(domain,e)
-
- --6. compile body in environment with extended environment
- rettype:= resolve(signature'.target,$returnMode)
-
- localOrExported :=
- null member($op,$formalArgList) and
- getmode($op,e) is ['Mapping,:.] => 'local
- 'exported
-
- --6a skip if compiling only certain items but not this one
- -- could be moved closer to the top
- formattedSig := formatUnabbreviated ['Mapping,:signature']
- $compileOnlyCertainItems and _
- not member($op, $compileOnlyCertainItems) =>
- sayBrightly ['" skipping ", localOrExported,:bright $op]
- [nil,['Mapping,:signature'],oldE]
- sayBrightly ['" compiling ",localOrExported,
- :bright $op,'": ",:formattedSig]
-
- T := CATCH('compCapsuleBody, compOrCroak(body,rettype,e))
- or [" ",rettype,e]
---+
- NRTassignCapsuleFunctionSlot($op,signature')
- if $newCompCompare=true then
- SAY '"The old compiler generates:"
- prTriple T
--- A THROW to the above CATCH occurs if too many semantic errors occur
--- see stackSemanticError
- catchTag:= MKQ GENSYM()
- fun:=
- body':= replaceExitEtc(T.expr,catchTag,"TAGGEDreturn",$returnMode)
- body':= addArgumentConditions(body',$op)
- finalBody:= ["CATCH",catchTag,body']
- compileCases([$op,["LAM",[:argl,'_$],finalBody]],oldE)
- $functorStats:= addStats($functorStats,$functionStats)
-
-
--- 7. give operator a 'value property
- val:= [fun,signature',e]
- [fun,['Mapping,:signature'],oldE] -- oldE:= put($op,'value,removeEnv val,e)
-
---from postpar
---------------------> NEW DEFINITION (override in postpar.boot.pamphlet)
-postSignature ['Signature,op,sig] ==
- sig is ["->",:.] =>
- sig1:= postType sig
- op:= postAtom (STRINGP op => INTERN op; op)
- ["SIGNATURE",op,:removeSuperfluousMapping killColons postDoubleSharp sig1]
-
-postDoubleSharp sig ==
- sig is [['Mapping,target,:r]] =>
- -- replace #1,... by ##1,...
- [['Mapping, SUBLISLIS($FormalFunctionParameterList, $FormalMapVariableList, target),
- :r]]
- sig
-
-- override in br-util.boot.pamphlet
bcConform1 form == main where
main() ==
diff --git a/src/interp/postpar.boot b/src/interp/postpar.boot
index e8a6007a..93a886b3 100644
--- a/src/interp/postpar.boot
+++ b/src/interp/postpar.boot
@@ -401,7 +401,6 @@ postSemiColon u == postBlock ["Block",:postFlattenLeft(u,";")]
postSequence ["Sequence",:l] == ['(elt $ makeRecord),:postTranList l]
---------------------> NEW DEFINITION (see br-saturn.boot.pamphlet)
postSignature ["Signature",op,sig] ==
sig is ["->",:.] =>
sig1:= postType sig