From 86f31acf6789be116dcc54ed85b069a37c0f7aa8 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 11 Aug 2022 01:25:47 +0000 Subject: Actual modules and core --- pkg/lang/vm/executor/nativefunc.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 pkg/lang/vm/executor/nativefunc.go (limited to 'pkg/lang/vm/executor/nativefunc.go') diff --git a/pkg/lang/vm/executor/nativefunc.go b/pkg/lang/vm/executor/nativefunc.go new file mode 100644 index 0000000..2188bfb --- /dev/null +++ b/pkg/lang/vm/executor/nativefunc.go @@ -0,0 +1,5 @@ +package executor + +import "jinx/pkg/lang/vm/value" + +type NativeFunc func(executor Exectutor, args []value.Value) (value.Value, error) -- cgit 1.4.1