Skip to Content.
Sympa Menu

k-user - [K-user] Unable to Kompile exp-lambda.k

k-user AT lists.cs.illinois.edu

Subject: K-user mailing list

List archive

[K-user] Unable to Kompile exp-lambda.k


Chronological Thread 
  • From: "Seyed H. HAERI (Hossein)" <hossein.haeri AT gmail.com>
  • To: k-user AT cs.uiuc.edu
  • Subject: [K-user] Unable to Kompile exp-lambda.k
  • Date: Wed, 22 Feb 2012 13:39:32 +0100
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of hossein.haeri AT gmail.com designates 10.236.184.202 as permitted sender) smtp.mail=hossein.haeri AT gmail.com; dkim=pass header.i=hossein.haeri AT gmail.com
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/k-user>
  • List-id: <k-user.cs.uiuc.edu>

Dear all,

Trying to kompile exp-lambda.k as provided in:

http://code.google.com/p/k-framework/source/browse/branches/papers/k-primer/exp/exp-lambda/exp-lambda.k

I fail with a strange error. I have narrowed it down to a minimal file:

require ../exp
require /modules/substitution

module EXP-LAMBDA-SYNTAX
imports EXP-SYNTAX

syntax Exp ::= Val
| #Id
| Exp Exp [seqstrict gather(E e)] //application
| "mu" #Id "." Exp [binder prec 100 latex "\mu{#1}.{#2}"]
syntax Val ::= #Int
| "lambda" #Id "." Exp [binder prec 100 latex
"\lambda{#1}.{#2}"]
end module

module EXP-LAMBDA
imports EXP + EXP-LAMBDA-SYNTAX + SUBSTITUTION
end module

with my kompile_error.txt being:

Warning: "exp-lambda.maude", line 471 (mod EXP-LAMBDA-SYNTAX):
declaration for __ has different attributes from declaration on
"exp-lambda.maude", line 281 (mod EXP-SYNTAX).
Advisory: <automatic>: operator __ has been imported from both
"exp-lambda.maude", line 281 (mod EXP-SYNTAX) and "exp-lambda.maude",
line 471 (mod EXP-LAMBDA-SYNTAX) with no common ancestor.
Advisory: <automatic>: unable to make module summation EXP +
SUBSTITUTION + EXP-LAMBDA-SYNTAX due to earlier errors.
Warning: "exp-lambda.maude", line 489: undeclared sort Exp.
Warning: "exp-lambda.maude", line 489: undeclared sort Ids.
Warning: "exp-lambda.maude", line 489: undeclared sort List{#Id,","}.
Warning: "exp-lambda.maude", line 489: undeclared sort SyntacticIds.
Warning: "exp-lambda.maude", line 489: undeclared sort SemanticIds.
Warning: "exp-lambda.maude", line 489: undeclared sort List{Bottom,","}.
Warning: "exp-lambda.maude", line 489: undeclared sort SemList{Bottom,","}.
Warning: "exp-lambda.maude", line 489: undeclared sort
SyntacticList{Bottom,","}.
Warning: "exp-lambda.maude", line 489: undeclared sort Stmt.
Warning: "exp-lambda.maude", line 489: undeclared sort Val.

Any idea?

TIA,
--Hossein

--------------------------------------------------------------------------------------------------------------

Seyed H. HAERI (Hossein)

Research Assistant
Institute for Software Systems (STS)
Technical University of Hamburg (TUHH)
Hamburg, Germany

ACCU - Professionalism in programming - http://www.accu.org/
--------------------------------------------------------------------------------------------------------------




Archive powered by MHonArc 2.6.16.

Top of Page