Skip to content

Releases: coffee-js/quickcoffee

QuickCoffee 0.1.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 17:13
95c4866

中文

  • qcoffee、qtest 的中英帮助更明确,按用途展示选项和可运行示例,解释普通测试与模块测试的通过条件。
  • 首次使用优先引导至已验证的发行归档;新增入门任务的测试失败与修复练习,以及显式小型 JSON 文件输入和安全保存结果的流程。
  • Unix 与 Windows 下载示例在下载、校验、解包或运行失败时停止后续步骤,避免运行残留文件;Windows 路径已在原生 runner 上验证成功与注入失败场景。
  • 从标准输入读取过大的源码时,先报告字节限制错误,而非被 UTF-8 解码错误掩盖。
  • 修正 tag 发行工作流的 checkout 步骤,确保发布的是已通过门禁的归档。

English

  • Clearer bilingual qcoffee and qtest help groups options, provides runnable examples, and explains success conditions for standalone and module tests.
  • First use now leads with verified release archives; the starter adds a test-failure-and-recovery exercise plus an explicit small-JSON-file workflow with safe result saving.
  • Unix and Windows download examples stop after download, checksum, extraction, or command failures rather than running stale files. Native Windows runners verify success and injected failures.
  • Oversized stdin source now reports the byte-limit error before UTF-8 decoding can mask it.
  • Fixes checkout in the tag release workflow so publishing uses the archives that passed the release gates.

QuickCoffee 0.1.0

Choose a tag to compare

@tiye tiye released this 31 Aug 16:11
b3d27d2

中文

  • 初始实验版本:CoffeeScript 风格的严格、无原型字节码语言与可嵌入 Rust API。
  • README 和发行归档提供可在 5 分钟内运行、修改并测试的 JSON 清洗入门任务。
  • 提供 qcoffee、qtest、qdocco、qbench 与 qcson,支持规范 .coffee、GitHub-compatible .litcoffee 源码和纯数据 .cson。
  • 公开资源有界的 JSON/CSON 纯内存 Rust API;qcson 在不执行输入的前提下双向转换 canonical CSON/JSON,并提供版本化机器诊断。
  • Decimal 定价场景可由人工维护的 .cson 配置驱动;Rust 宿主和发布归档中的 qcson -> qcoffee 链路产生相同结果,脚本不获得隐式文件权限。
  • qtest --module-root ROOT ENTRY_OR_DIRECTORY... 可预检并隔离运行导出 test = true 的静态模块用例;根内测试目录会稳定递归发现 .coffee 与 .litcoffee 入口。
  • 提供共享 .litcoffee 规则的 Decimal 定价与确定性 JSON 规范化业务工作流。
  • 多文件嵌入式策略包验证隔离 Context、typed host state、显式 capability、取消与资源策略。
  • 新增由三个业务工作流校准的 ExecutionPolicy::isolated_request(),统一 Runtime 编译边界与新 Context 的默认执行边界。
  • qcoffee / qtest 人类错误有界显示结构化 data、完整 ranges、源码片段与可操作 hints;qcoffee --json 错误保留完整 data 并附带 version 1 完整 labels。
  • 包含精确数值、不可变集合、受限 class、静态模块图、结构化诊断与显式资源治理。
  • 为 Linux x86_64、macOS Intel、macOS Apple silicon 与 Windows x86_64 生成可校验归档;归档携带 Decimal .litcoffee/.coffee 场景,并从干净解包目录验证全部用户工作流。

English

  • Initial experimental release of a strict, prototype-free CoffeeScript-inspired bytecode language and embeddable Rust API.
  • The README and release archives include a JSON-cleanup starter task that users can run, modify, and test within five minutes.
  • Ships qcoffee, qtest, qdocco, qbench, and qcson with canonical .coffee, GitHub-compatible .litcoffee, and data-only .cson support.
  • Exposes resource-bounded, in-memory JSON/CSON Rust APIs. qcson converts canonical CSON/JSON bidirectionally without executing input and provides versioned machine diagnostics.
  • The Decimal pricing scenario accepts a human-maintained .cson configuration. The Rust host and archived qcson -> qcoffee chain agree without granting ambient file access to the script.
  • qtest --module-root ROOT ENTRY_OR_DIRECTORY... preflights and runs isolated static-module cases that export test = true; a test directory beneath the root is discovered recursively in stable order.
  • Includes Decimal pricing and deterministic JSON-normalization workflows backed by shared .litcoffee rules.
  • A multi-file embedded policy package validates isolated Contexts, typed host state, explicit capabilities, cancellation, and resource policy.
  • Adds ExecutionPolicy::isolated_request(), calibrated by all three business workflows, to align Runtime compilation bounds with defaults inherited by new Contexts.
  • Human qcoffee / qtest errors render bounded structured data, complete ranges, source excerpts, and actionable hints; qcoffee --json errors retain complete data and include complete version 1 labels.
  • Includes exact numeric values, immutable collections, restricted classes, static module graphs, structured diagnostics, and explicit resource governance.
  • Produces verified archives for Linux x86_64, macOS Intel, macOS Apple silicon, and Windows x86_64. Each archive carries the Decimal .litcoffee/.coffee workflow and exercises the complete user path from a clean extracted directory.