imports are now python style with a twist: forms! import std ffi and import local myfile

This commit is contained in:
2023-09-06 22:43:03 -07:00
parent 0e4362eefb
commit 81296ee1d1
22 changed files with 58 additions and 50 deletions

View File

@ -1,4 +1,4 @@
import "c.pork"
import local c
export func b() {
c()

View File

@ -1,4 +1,4 @@
import "a.pork"
import local a
export func c() {
a()

View File

@ -1,4 +1,4 @@
import "b.pork"
import local b
export func d() {
b()

View File

@ -1,4 +1,4 @@
import "d.pork"
import local d
export func main() {
d()