Skip to content

v0.1.0

Choose a tag to compare

@liuchong liuchong released this 22 Oct 19:03
· 47 commits to master since this release
v0.1.0
c79e8c0

Highlights in v0.1.0

  • 100% Emacs Lisp Compatible Core: Standard S-expression reader, Lisp-2 dual namespace (symbol-function / symbol-value / symbol-plist), unique nil falsiness (0, "", [], and all extension sentinels are truthy), lexical closures coexisting with dynamic defvar special variables, mutable native collections, Emacs integer division/modulo, condition hierarchy (catch/throw, condition-case, unwind-protect), and full defmacro.
  • Explicit 1 + 5 + 2 Extension Architecture: Definition-identity-scoped (require 'eliscript) umbrella and portable sub-libraries (eliscript-data, eliscript-bind, eliscript-async, eliscript-module, eliscript-contract) plus explicit host/backend libraries (eliscript-js, eliscript-abi).
  • AI-Native Contracts, Persistent Data & Multi-Backend ABI: Static and runtime (declare (eliscript ...)) verification, 7 persistent collections integrated with Emacs seq.el/map.el, cl-defstruct-persistent with JSON Schema roundtrip, 50,000-depth stack-safe recur, defmodule lexical privacy, structured concurrency (with-async-scope, async-channel, engine-bind/engine-revoke!), and :numeric-f64 / :memory-u32 WebAssembly & ARM64 Native execution.
  • Full Unit & Differential Oracle Verification: 270 ERT tests, 24 targeted 0.1.0 Bun suites, and a 52-program native Emacs vs. JavaScript Differential Oracle.

测试与四维性能基准摘要

  • 对比维度: Emacs 30.2 (当前最新版) | 上一个大版本: N/A (尚无上一大版本) | 上一个最近的小版本: v0.0.4 | 最新版: v0.1.0
  • 完整测试与基准报告附件: 详见 Release 附件 eliscript-0.1.0-benchmark-report.md 与 eliscript-0.1.0-benchmark-report.json
基准工作负载 最新版耗时 vs Emacs Lisp vs 上一大版本 vs 上一小版本
first(Vector, N=10,000) 0.13 µs (0.00013 ms) 1.62x N/A 0.89x
last(Vector, N=10,000) 0.59 µs (0.00059 ms) 48.88x N/A 0.63x
take-last(64, N=10,000) 5.26 µs (0.00526 ms) 5.44x N/A 0.91x
[VALUE_EQUAL] / compare(sameVec, N=10,000) 0.46 µs (0.00046 ms) 52.33x N/A 0.57x
sort(Vector, N=10,000) 1.919 ms 0.94x N/A 0.88x
group-by(x % 100, N=10,000) 1.141 ms 3.47x N/A 0.93x
frequencies(1,000 keys, N=100,000) 11.243 ms 2.10x N/A 0.98x
12,000-depth Zipper (down*12k + path + replace + root) 3.593 ms 1.69x N/A 1.01x
score-values(N=10,000 x 10 rounds) 1.604 ms 20.37x N/A 1.07x