mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2026-11-04 16:02:20 +00:00
vm: very basic virtual machine
This commit is contained in:
92 files changed
+1652
-243
No files matched your search
@@ -0,0 +1,8 @@
|
||||
plugins {
|
||||
id("gay.pizza.pork.module")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api(project(":frontend"))
|
||||
implementation(project(":common"))
|
||||
}
|
||||
@@ -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