view paper/final_main/src/Exec.agda @ 4:0f938112b48e

add paper
author suruga
date Thu, 15 Feb 2018 14:48:08 +0900
parents
children
line wrap: on
line source

exec : {l1 l2 : Level} {I : Set l1} {O : Set l2}
       {{_ : DataSegment I}} {{_ : DataSegment O}}
       -> CodeSegment I O -> Context -> Context
exec {l} {{i}} {{o}}  (cs b) c = set o c (b (get i c))