We propose a sequent calculus derived from the (lambda) over bar mu(mu) over tilde -calculus of Curien and Herbelin that is expressive enough to directly represent the fine details of program evaluation using typical abstract machines. Not only does the calculus easily encode the usual components of abstract machines such as environments and stacks, but it can also simulate the transition steps of the abstract machine with just a constant overhead. Technically this is achieved by ensuring that reduction in the calculus always happens at a bounded depth from the root of the term. We illustrate these properties by providing shallow encodings of the Krivine (call-by-name) and the CEK (call-by-value) abstract machines in the calculus.
机构:
Fed Univ Rio De Janeiro UFRJ, COPPE, Program Syst & Comp Engn, Rio De Janeiro, BrazilFed Univ Rio De Janeiro UFRJ, COPPE, Program Syst & Comp Engn, Rio De Janeiro, Brazil
Vana, Leonardo Bruno
Veloso, Paulo A. S.
论文数: 0引用数: 0
h-index: 0
机构:
Fed Univ Rio De Janeiro UFRJ, COPPE, Program Syst & Comp Engn, Rio De Janeiro, BrazilFed Univ Rio De Janeiro UFRJ, COPPE, Program Syst & Comp Engn, Rio De Janeiro, Brazil
Veloso, Paulo A. S.
Veloso, Sheila R. M.
论文数: 0引用数: 0
h-index: 0
机构:
State Univ Rio De Janeiro UERJ, Dept Syst & Comp Engn, Rio De Janeiro, BrazilFed Univ Rio De Janeiro UFRJ, COPPE, Program Syst & Comp Engn, Rio De Janeiro, Brazil