mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 05:10:55 +00:00
imports are now python style with a twist: forms! import std ffi and import local myfile
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import "c.pork"
|
||||
import local c
|
||||
|
||||
export func b() {
|
||||
c()
|
||||
|
@ -1,4 +1,4 @@
|
||||
import "a.pork"
|
||||
import local a
|
||||
|
||||
export func c() {
|
||||
a()
|
||||
|
@ -1,4 +1,4 @@
|
||||
import "b.pork"
|
||||
import local b
|
||||
|
||||
export func d() {
|
||||
b()
|
||||
|
@ -1,4 +1,4 @@
|
||||
import "d.pork"
|
||||
import local d
|
||||
|
||||
export func main() {
|
||||
d()
|
||||
|
Reference in New Issue
Block a user