代码规模
统计范围:oracle/jishi/ 下这一层的每个 .py(不含标准库子目录与构建产物)。
| 模块 | 行数 | 占比 |
|---|---|---|
oracle/jishi/runtime.py | 3110 | |
oracle/jishi/parser.py | 2180 | |
oracle/jishi/cvm_bind.py | 1934 | |
oracle/jishi/lsp.py | 1666 | |
oracle/jishi/cli.py | 1296 | |
oracle/jishi/compiler.py | 1281 | |
oracle/jishi/debugger.py | 1135 | |
oracle/jishi/vm.py | 937 | |
oracle/jishi/interpreter.py | 876 | |
oracle/jishi/tokenizer.py | 817 | |
oracle/jishi/errors.py | 747 | |
oracle/jishi/dap.py | 676 | |
oracle/jishi/packages.py | 597 | |
oracle/jishi/ai.py | 568 | |
oracle/jishi/lineedit.py | 507 | |
oracle/jishi/mcp_server.py | 466 | |
oracle/jishi/checker.py | 432 | |
oracle/jishi/formatter.py | 423 | |
oracle/jishi/opcodes.py | 417 | |
oracle/jishi/jishilib.py | 333 | |
oracle/jishi/ast_nodes.py | 305 | |
oracle/jishi/sandbox.py | 253 | |
oracle/jishi/repl.py | 253 | |
oracle/jishi/errcodes.py | 224 | |
oracle/jishi/serialize.py | 182 | |
oracle/jishi/scope.py | 173 | |
oracle/jishi/incremental.py | 130 | |
oracle/jishi/cache.py | 115 | |
oracle/jishi/langdata.py | 57 | |
oracle/jishi/protocol.py | 43 | |
oracle/jishi/version.py | 25 |
测试与示例
测试函数
2477 个 def test
示例程序
32 个 .jsh
模块行数
22158 行(本层)
这些数字也是**当场数出来**的:测试数是把所有 def test 数了一遍,示例数是递归数 examples/ 下的 .jsh 文件。数得对不对,看仓库就知道。