k-user AT lists.cs.illinois.edu
Subject: K-user mailing list
List archive
- From: "dongbiao830415 AT foxmail.com" <dongbiao830415 AT foxmail.com>
- To: k-user <k-user AT lists.cs.illinois.edu>
- Subject: [[K-user] ] Error while compiling lambda.k
- Date: Sun, 23 Jul 2017 07:48:34 +0800
- Authentication-results: illinois.edu; spf=pass smtp.mailfrom=dongbiao830415 AT foxmail.com
- Feedback-id: esmtp:foxmail.com:bgweb:bgweb115
When using kompile(runtimeverification/k), it fails to compile the lambda.k(a very simple example).
cat lambda.k
[root@localhost hello]# cat lambda.k
// Copyright (c) 2012-2016 K Team. All Rights Reserved.
module LAMBDA-SYNTAX
syntax Val ::= Id
| "lambda" Id "." Exp
syntax Exp ::= Val
| Exp Exp [left]
| "(" Exp ")" [bracket]
endmodule
(1) kompile --no-prelude lambda.k. Output:
[root@localhost hello]# kompile --no-prelude lambda.k
[Error] Compiler: Could not find sorts: [Id]
Source(/root/src/c-semantics/hello/./lambda.k)
Location(4,18,4,19)
(2) kompile lambda.k. Output:
[root@localhost hello]# kompile lambda.k
[Error] Compiler: Could not find main module with name LAMBDA in definition.
Use --main-module to specify one.
I don't know what the reason is.
Who has the latest K manual?
Thank you.
dongbiao830415 AT foxmail.com
- [[K-user] ] Error while compiling lambda.k, dongbiao830415 AT foxmail.com, 07/22/2017
- Message not available
- Message not available
- Re: [[K-user] ] Error while compiling lambda.k//still fail, Mike Stay, 07/23/2017
- Message not available
- Message not available
- RE: [[K-user] ] Error while compiling lambda.k, Rosu, Grigore, 07/23/2017
Archive powered by MHonArc 2.6.19.