Page MenuHomePhorge

README.txt
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

README.txt

ANT - Ant sized JavaScript Runtime
===================================
A minimal embedded JavaScript engine with async/await, promises, modules,
and built-in APIs for HTTP servers, timers, crypto, and JSON.
BUILD:
meson setup build && meson compile -C build
RUN:
./build/ant script.js
EXAMPLE:
See examples/server/server.js for a good server example using Ant.serve()
with Radix3 routing, parameter handling, and various response types.
MODULES:
- Ant.serve() - HTTP server
- import() - ESM module loading
- Timers - setTimeout, setInterval, queueMicrotask
- fetch() - HTTP client
- crypto.* - Cryptography
- JSON.* - JSON parsing
- console.* - Logging
- Atomics.* - Atomic operations (add, sub, and, or, xor, etc.)
- SharedArrayBuffer - Shared memory buffers
- TypedArrays - Int8Array, Uint8Array, Int32Array, etc.
FEATURES:
- Async/await and Promises
- ES6+ syntax (arrow functions, classes, template literals)
- Number literals (binary 0b1010, octal 0o755, hex 0xFF)
- Atomic operations for concurrent programming
- Signal handlers (SIGINT, SIGTERM, etc.)
- Embedded garbage collector

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 8:05 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
530355
Default Alt Text
README.txt (1 KB)

Event Timeline