Skip to content

v0.1.1

Choose a tag to compare

@liuchong liuchong released this 28 Oct 19:47
· 34 commits to master since this release
v0.1.1
cd2ec2a

Highlights in v0.1.1

  • 100% Pure Eliscript Dual-Host Runtime & Worker Bridge: Rewrote runtime/emacs-compat.eli (5,927 lines of pure Eliscript, 0 js* capsules), tests/eliscript/emacs-compatible-syntax.eli, tests/seed-symbol-reservation.test.eli, and tools/performance/version-comparison.eli in pure Eliscript, adding industrial Emacs Lisp primitives (?char, &optional/&rest/&key, mutable cl-defstruct, setf/cl-incf/cl-decf/push/pop, pcase, cl-labels/cl-loop, rx, pure Eliscript UTF-8 & SHA-256 secure-hash, virtual with-temp-buffer) and compileCompatElispModule / eliscript-compat-offload-call for unmodified .el module execution and persistent Worker acceleration.
  • Compiler Codegen Size & TDZ Narrowing (-6.57% Compiler Output, 2.08x Faster Compile): Narrowed temporal dead zone (__eliscript_tdz_*) guards to genuinely uninitialized forward references and extracted shared operation helpers into runtime/prelude.eli, reducing the 13-module bootstrap compiler output from 800,209 B to 747,647 B (-52,562 B / -6.57%) and Stage 3 bundle size by -30.03% vs v0.0.1.
  • Native .el & .eli Project Build Support & Platform Coding Conventions: Added first-class .el and .eli entry and relative module import support across eliscript-build, eliscript-check, eliscript-watch, and portable project sessions (with ELI-PJ0014 collision diagnostics), and established the platform coding conventions in docs/emacs-compatible-syntax.md (§14).
  • Comprehensive Verification & Differential Oracle: Verified across 26 ERT suites (T01–T16), 23 project build ERT tests, 110 Bun syntax/runtime tests, 52 native Emacs vs. JS Differential Oracle programs, 9 unmodified industrial .el modules (CHE-01..CHE-07), and all 14 repository contract gates.

测试与四维性能基准摘要

  • 对比维度: Emacs 30.2 (当前最新版) | 上一个大版本: N/A (尚无上一大版本) | 上一个最近的小版本: v0.1.0 | 最新版: v0.1.1
  • 完整测试与基准报告附件: 详见 Release 附件 eliscript-0.1.1-benchmark-report.md 与 eliscript-0.1.1-benchmark-report.json
基准工作负载 最新版耗时 vs Emacs Lisp vs 上一大版本 vs 上一小版本
first(Vector, N=10,000) 0.25 µs (0.00025 ms) 0.94x N/A 0.59x
last(Vector, N=10,000) 1.65 µs (0.00165 ms) 19.72x N/A 0.47x
take-last(64, N=10,000) 7.17 µs (0.00717 ms) 4.32x N/A 1.24x
[VALUE_EQUAL] / compare(sameVec, N=10,000) 0.66 µs (0.00066 ms) 48.28x N/A 0.70x
sort(Vector, N=10,000) 1.873 ms 1.10x N/A 1.17x
group-by(x % 100, N=10,000) 1.313 ms 3.55x N/A 1.03x
frequencies(1,000 keys, N=100,000) 11.835 ms 2.25x N/A 1.10x
12,000-depth Zipper (down*12k + path + replace + root) 4.521 ms 1.43x N/A 0.88x
score-values(N=10,000 x 10 rounds) 1.815 ms 20.09x N/A 1.02x