Skip to Content.
Sympa Menu

k-user - [K-user] Integrate check and eval

k-user AT lists.cs.illinois.edu

Subject: K-user mailing list

List archive

[K-user] Integrate check and eval


Chronological Thread 
  • From: Andreas Zwinkau <zwinkau AT kit.edu>
  • To: k-user AT cs.uiuc.edu
  • Subject: [K-user] Integrate check and eval
  • Date: Tue, 11 Jun 2013 15:32:04 +0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/k-user/>
  • List-id: <k-user.cs.uiuc.edu>

How do you integrate program checker (e.g. type checker) and program
evaluation into one module?

Tutorial 5 rewrites evaluators into type checkers, but ultimately, you
want to type check and then evaluate a program.

One idea I have is to use different cells.

<k>$PGM</k><check>$PGM</check>

That gets tedious, because every eval rule requires the checker to be
finished. Effectively, the rules become more verbose.

There is no phase concept or something in K, I assume?

--
Andreas Zwinkau

Karlsruhe Institute of Technology (KIT)
Phone: +4972160848351
Email:
zwinkau AT kit.edu
Web: http://pp.info.uni-karlsruhe.de/personhp/andreas_zwinkau.php

Attachment: signature.asc
Description: OpenPGP digital signature



  • [K-user] Integrate check and eval, Andreas Zwinkau, 06/11/2013

Archive powered by MHonArc 2.6.16.

Top of Page