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

This commit is contained in:
alex committed 2023-09-06 21:39:57 -07:00
1 parent f31e12df89
commit 0e4362eefb
18 files changed
+153 -32

No files matched your search

+1 -5
View File
@@ -1,8 +1,4 @@
func malloc(size)
native ffi "c:malloc:void*"
func free(pointer)
native ffi "c:free:void"
import std "ffi/malloc.pork"
export func main() {
while true {