Refactor, cleanup

This commit is contained in:
Zef Hemel
2025-06-12 20:30:01 +02:00
parent b942ebabad
commit 8d3dc4cc4e
120 changed files with 1139 additions and 1101 deletions
+12 -5
View File
@@ -1,12 +1,19 @@
import type { System } from "../lib/plugos/system.ts";
import type { ScriptObject } from "../plugs/index/script.ts";
import { LuaEnv, LuaRuntimeError, LuaStackFrame } from "./space_lua/runtime.ts";
import { parse as parseLua, parseExpressionString } from "./space_lua/parse.ts";
import { evalStatement } from "./space_lua/eval.ts";
import {
LuaEnv,
LuaRuntimeError,
LuaStackFrame,
} from "../lib/space_lua/runtime.ts";
import {
parse as parseLua,
parseExpressionString,
} from "../lib/space_lua/parse.ts";
import { evalStatement } from "../lib/space_lua/eval.ts";
import { parseRef, type Ref } from "@silverbulletmd/silverbullet/lib/page_ref";
import type { ASTCtx } from "./space_lua/ast.ts";
import type { ASTCtx } from "../lib/space_lua/ast.ts";
import { buildLuaEnv } from "./space_lua_api.ts";
import type { LuaCollectionQuery } from "./space_lua/query_collection.ts";
import type { LuaCollectionQuery } from "../lib/space_lua/query_collection.ts";
export class SpaceLuaEnvironment {
env: LuaEnv = new LuaEnv();