mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-10-10 08:09:39 +00:00
vm: very basic virtual machine
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
package gay.pizza.pork.execution
|
||||
|
||||
interface ExecutionContext {
|
||||
fun execute()
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package gay.pizza.pork.execution
|
||||
|
||||
import gay.pizza.pork.ast.gen.Symbol
|
||||
import gay.pizza.pork.frontend.ImportLocator
|
||||
|
||||
interface ExecutionContextProvider {
|
||||
fun prepare(importLocator: ImportLocator, entryPointSymbol: Symbol): ExecutionContext
|
||||
}
|
Reference in New Issue
Block a user