mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 05:10:55 +00:00
Implement a very dumb import system.
This commit is contained in:
5
examples/imports.pork
Normal file
5
examples/imports.pork
Normal file
@ -0,0 +1,5 @@
|
||||
import "module.pork"
|
||||
|
||||
func main() {
|
||||
hello()
|
||||
}
|
3
examples/module.pork
Normal file
3
examples/module.pork
Normal file
@ -0,0 +1,3 @@
|
||||
func hello() {
|
||||
println("Hello World")
|
||||
}
|
Reference in New Issue
Block a user