From 6a4f1a224273118a5429094ddd83420b7d69b28d Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 1 Jun 2018 08:31:47 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lls/lls.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'lls/lls.c') diff --git a/lls/lls.c b/lls/lls.c index e8f26ea..927382d 100644 --- a/lls/lls.c +++ b/lls/lls.c @@ -24,7 +24,21 @@ typedef struct } value; } lls_Value; +/* 指令集,最大支持255个 */ enum { - + MOVE = 1, + ADD, }; + +typedef struct +{ + int ins; + void* operant; +} lls_Ins; + + +int lls_bindfunction(lls_Context* C, const char* fname, lls_Func func) +{ + +} -- cgit v1.1-26-g67d0