diff --git a/engines/README.md b/engines/README.md index a3c3141d..c58db649 100644 --- a/engines/README.md +++ b/engines/README.md @@ -29,7 +29,7 @@ | [StarlingMonkey](starlingmonkey/README.md)
[
StarsLast commit
](https://github.com/bytecodealliance/StarlingMonkey) | C++ | SpiderMonkey-based JavaScript runtime compiled to WebAssembly. | ESnext | 2024- | | Apache-2.0 | | [Tamarin](tamarin/README.md)
[
StarsLast commit
](https://github.com/adobe/avmplus) | C++ | JavaScript engine of Adobe Flash Player 9+. | ES4 | 2006-2013 | 193K | MPL-2.0 | | [yrm006/miniscript](yrm006/README.md)
[
StarsLast commit
](https://github.com/yrm006/miniscript) | C | Primitive unfinished interpreter. | no | 2018 | 2.0K | Missing | -| [Ant](ant/README.md)
[
StarsLast commit
](https://github.com/theMackabu/ant) | C | Ant-sized JavaScript runtime, notable for async/await, FFI, HTTP servers, crypto, while being under 4 MB. | ES5 | 2025- | 34K | MIT | +| [Ant](ant/README.md)
[
StarsLast commit
](https://github.com/theMackabu/ant) | C | Ant is a lightweight, high-performance JavaScript runtime built from scratch. | ESnext | 2025- | 177K | MIT | | [Flathead](flathead/README.md)
[
StarsLast commit
](https://github.com/ndreynolds/flathead) | C | Buggy unfinished interpreter. | no | 2012-2017 | 7.1K | MIT | | [QuickJIT](quickjit/README.md)
[
StarsLast commit
](https://github.com/bnoordhuis/quickjit) | C | QuickJS fork that JIT-translates bytecode using TCC. | ES2019 | 2023 | 87K | MIT/LGPL-2.1+ | | [jsish](jsish/README.md)
[
StarsLast commit
](https://github.com/pcmacdon/jsish) | C | Buggy unfinished interpreter. | no | 2020-2022 | 51K | MIT | diff --git a/engines/ant/README.md b/engines/ant/README.md index 1dc08bd4..1d29d8a2 100644 --- a/engines/ant/README.md +++ b/engines/ant/README.md @@ -1,101 +1,53 @@ # Ant -Ant-sized JavaScript runtime, notable for async/await, FFI, HTTP servers, crypto, while being under 4 MB. +Ant is a lightweight, high-performance JavaScript runtime built from scratch. * Repository: [theMackabu/ant](https://github.com/theMackabu/ant.git) StarsLast commit -* LOC: [34461](# "cloc src") +* LOC: [177492](# "cloc src") * Language: C * License: MIT -* Standard: ES5 (ES6 Partial) +* Standard: ESnext * Years: 2025- -* Interpreter: tree-walking +* Features: object shapes, inline caches, MIR-based JIT +* Parser: recursive descent, builds AST then emits bytecode +* Interpreter: stack-based bytecode VM (Ant Silver) +* GC: generational mark-and-sweep * Regex engine: PCRE2 ## Links -- https://s.tail.so/js-in-one-month +- https://ant.ax +- https://themackabu.dev/blog/js-in-one-month +- https://themackabu.dev/blog/ant-part-two ## Conformance
ES1-ES5: 100%
-
compat-table: ES6 86%, ES2016+ 89%, Next 6%, Intl 100%