aboutsummaryrefslogtreecommitdiff
path: root/Program.dcl
blob: 31b61d79c8add598717a72561bfa81b9030435e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
definition module ABC.Program

from ABC.Def import ::InstrId, ::Instruction

pc_init :: InstrId
pc_next :: InstrId -> InstrId
pc_halt :: InstrId -> InstrId
pc_end  :: InstrId -> Bool

:: ProgramStore

ps_get  :: InstrId ProgramStore -> Instruction
ps_init :: [Instruction] -> ProgramStore