k-user AT lists.cs.illinois.edu
Subject: K-user mailing list
List archive
- From: Alex <alexdba AT gmail.com>
- To: "Saxena, Manasvi" <msaxena2 AT illinois.edu>
- Cc: "k-user AT lists.cs.illinois.edu" <k-user AT lists.cs.illinois.edu>
- Subject: Re: [[K-user] ] --pattern parameter
- Date: Tue, 14 Feb 2017 19:34:09 +0000
Thanks for the explanation!
I had figured out that I could match parts of the final configuration, and that is also useful.I guess that --pattern parameter is not the way to go.
I've saw mentions of using k-framework to perform symbolic execution, but I didn't findLe mar. 14 févr. 2017 à 11:15, Saxena, Manasvi <msaxena2 AT illinois.edu> a écrit :
Hi Alex,
The pattern specified by the —pattern option is matched on the final configuration, and the substitution is displayed, instead of the entire configuration.
For e.g., suppose the result of a krun execution is
<T> <result> 10 </result> *other stuff* </T>
then, you can filter your output by running giving krun the —pattern flag. You could call run with —pattern ‘<result> X </result>, and the result would be -
Solution 1
X ==K 10
> Is it possible to guide the execution path using such parametere, or is there another way?
I don’t think you’ll be able to use the —pattern flag to guide the execution. By guiding, do you mean you only want certain, but not all rules from the definition, to be considered during application? Or are you looking for a way to specify rewrite rules in the command line during krun?
-Manasvi
> On Feb 14, 2017, at 5:43 AM, Alex <alexdba AT gmail.com> wrote:
>
> Cheers!
>
> Do someone have a nice example of how to use the --pattern parameter in the krun tool?
>
> Is it possible to guide the execution path using such parametere, or is there another way?
>
> Thanks!
> Alex Alberto
- [[K-user] ] --pattern parameter, Alex, 02/14/2017
- Re: [[K-user] ] --pattern parameter, Saxena, Manasvi, 02/14/2017
- Re: [[K-user] ] --pattern parameter, Alex, 02/14/2017
- Re: [[K-user] ] --pattern parameter, Saxena, Manasvi, 02/14/2017
- Re: [[K-user] ] --pattern parameter, Dorel Lucanu, 02/15/2017
- Re: [[K-user] ] --pattern parameter, Alex, 02/15/2017
- Re: [[K-user] ] --pattern parameter, daparpon, 02/16/2017
- Re: [[K-user] ] --pattern parameter, Saxena, Manasvi, 02/16/2017
- Re: [[K-user] ] --pattern parameter, daparpon, 02/17/2017
- Re: [[K-user] ] --pattern parameter, Saxena, Manasvi, 02/17/2017
- Re: [[K-user] ] --pattern parameter, daparpon, 02/17/2017
- Re: [[K-user] ] --pattern parameter, Saxena, Manasvi, 02/16/2017
- Re: [[K-user] ] --pattern parameter, Dorel Lucanu, 02/15/2017
- Re: [[K-user] ] --pattern parameter, Saxena, Manasvi, 02/14/2017
- Re: [[K-user] ] --pattern parameter, Alex, 02/14/2017
- Re: [[K-user] ] --pattern parameter, Saxena, Manasvi, 02/14/2017
Archive powered by MHonArc 2.6.19.