基石jishi

代码规模

统计范围:oracle/jishi/ 下这一层的每个 .py(不含标准库子目录与构建产物)。

模块行数占比
oracle/jishi/runtime.py3110
oracle/jishi/parser.py2180
oracle/jishi/cvm_bind.py1934
oracle/jishi/lsp.py1666
oracle/jishi/cli.py1296
oracle/jishi/compiler.py1281
oracle/jishi/debugger.py1135
oracle/jishi/vm.py937
oracle/jishi/interpreter.py876
oracle/jishi/tokenizer.py817
oracle/jishi/errors.py747
oracle/jishi/dap.py676
oracle/jishi/packages.py597
oracle/jishi/ai.py568
oracle/jishi/lineedit.py507
oracle/jishi/mcp_server.py466
oracle/jishi/checker.py432
oracle/jishi/formatter.py423
oracle/jishi/opcodes.py417
oracle/jishi/jishilib.py333
oracle/jishi/ast_nodes.py305
oracle/jishi/sandbox.py253
oracle/jishi/repl.py253
oracle/jishi/errcodes.py224
oracle/jishi/serialize.py182
oracle/jishi/scope.py173
oracle/jishi/incremental.py130
oracle/jishi/cache.py115
oracle/jishi/langdata.py57
oracle/jishi/protocol.py43
oracle/jishi/version.py25

测试与示例

测试函数
2477 个 def test
示例程序
32 个 .jsh
模块行数
22158 行(本层)

这些数字也是**当场数出来**的:测试数是把所有 def test 数了一遍,示例数是递归数 examples/ 下的 .jsh 文件。数得对不对,看仓库就知道。