add a standard library, and introduce formed imports (import std "myfile.pork")

This commit is contained in:
2023-09-06 21:39:57 -07:00
parent f31e12df89
commit 0e4362eefb
18 changed files with 153 additions and 32 deletions

13
stdlib/build.gradle.kts Normal file
View File

@ -0,0 +1,13 @@
plugins {
id("gay.pizza.pork.module")
}
tasks.processResources {
from("src/main/pork") {
into("pork/stdlib")
}
}
dependencies {
implementation(project(":frontend"))
}