Skip to content

Commit 6daf50e

Browse files
committed
docs: describe the pipeline as ahead-of-time compilation
Name the paradigm explicitly - the Lua is AOT-compiled to C then to a native ROM; there is no interpreter or VM on the console. Preempts the common assumption that 'Lua' means an interpreter runs on the hardware, and explains why the dialect is a static subset.
1 parent 07c9d71 commit 6daf50e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
[![npm version](https://img.shields.io/npm/v/neslua.svg)](https://www.npmjs.com/package/neslua) [![npm downloads](https://img.shields.io/npm/dm/neslua.svg)](https://www.npmjs.com/package/neslua)
44

5-
**PICO-8-flavored Lua, compiled to a real NES `.nes` ROM.** Zero native tools -
6-
the cc65 toolchain runs as bundled WebAssembly. neslua is the NES member of the
7-
[luacretro](https://github.com/monteslu) console SDK family (GameTank, GBA,
5+
**PICO-8-flavored Lua, ahead-of-time compiled to a real NES `.nes` ROM.** No
6+
interpreter, no VM: your Lua becomes native 6502 machine code. Zero native tools,
7+
either - the cc65 toolchain runs as bundled WebAssembly. neslua is the NES member
8+
of the [luacretro](https://github.com/monteslu) console SDK family (GameTank, GBA,
89
Genesis, NES, C64), sharing one statically-typed Lua-to-C front-end.
910

1011
```lua

0 commit comments

Comments
 (0)