k-user AT lists.cs.illinois.edu
Subject: K-user mailing list
List archive
- From: Mihály Palenik <palenik.mihaly AT gmail.com>
- To: k-user AT lists.cs.illinois.edu
- Subject: [[K-user] ] Error while using SUBSTITUTION module
- Date: Mon, 19 Dec 2016 22:27:06 +0100
Hello!
Can anybody help about my problem?
Best regards
Mihály Palenik
2016. dec. 9 14:41 ezt írta ("Mihály Palenik" <palenik.mihaly AT gmail.com>):
This works with 3.6 but 4.0 fails. Why? And how can I solve this?With this error:E1 is an _expression_ like: Somevar + OthervarIn Lang module I have getMatching function which returns a Map. If this map contains Variable key then the substitution fails. E.g.:module LANGmodule LANG-SYNTAXmodule LANG-COMMONHello,I have little problem with SUBSTITUTION. I have this module structure:syntax Variableendmoduleimport LANG-COMMONendmodule
syntax Variable ::= r"[A-Z][_a-zA-Z0-9@]*" [token, autoReject]module LANG-COMMONimport SUBSTITUTIONendmodule
getMatching(...) return with this: Somevar |-> 11 Othervar |-> 23
Then rule fails which contains this: E1[getMatching(...)]
[Error] Critical: Sort KVariable is undefined.
while evaluating function _[_]Thank you your answers in advance!Best regards,Mihály Palenik
- [[K-user] ] Error while using SUBSTITUTION module, Mihály Palenik, 12/09/2016
- [[K-user] ] Error while using SUBSTITUTION module, Mihály Palenik, 12/19/2016
- Re: [[K-user] ] Error while using SUBSTITUTION module, Park, Daejun, 12/20/2016
- [[K-user] ] Error while using SUBSTITUTION module, Mihály Palenik, 12/19/2016
Archive powered by MHonArc 2.6.19.