AminetAminet
Search:
85205 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/lang/lua-5.4.7.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:Lua lightweight scripting language
Author:Roberto Ierusalimschy, PUC-Rio (ported by Duncan Bowring)
Uploader:duncan bowring us
Type:dev/lang
Version:5.4.7
Architecture:m68k-amigaos >= 3.0
Date:2026-03-25
Download:dev/lang/lua-5.4.7.lha - View contents
Readme:dev/lang/lua-5.4.7.readme
Downloads:28

lua - Lua 5.4.7 scripting language for AmigaOS

Original authors: Roberto Ierusalimschy, Luiz Henrique de Figueiredo,
Waldemar Celes (PUC-Rio). MIT License.

Ported by Duncan Bowring using amiport (AI-assisted porting toolkit).
Project: https://github.com/bdgscotland/amiport

First port of Lua 5.4 to any Amiga platform. Previous ports (5.2.1, 2012)
are 14 years old and two major versions behind.

Cross-compiled with m68k-amigaos-gcc for AmigaOS 3.x (68000+).
Tested on FS-UAE (65/65 tests passing). Standalone binary, no ixemul required.

New in Lua 5.4 (vs old Amiga port at 5.2):
  - Native integer type with bitwise operators (&, |, ~, <<, >>)
  - Integer floor-division operator (//)
  - Generational garbage collector
  - To-be-closed variables (<close>)
  - utf8 standard library
  - Warning system (warn())

Usage:
  lua                           Start interactive REPL
  lua script.lua                Run a Lua script
  lua -e "print('hello')"      Evaluate an expression
  lua -v                        Show version

Known limitations:
  - io.popen() not supported (returns Lua error)
  - No dynamic C module loading (pure Lua require() works)
  - 32-bit integers (range: -2147483648 to 2147483647)
  - os.execute() uses AmigaDOS Execute()

Stack: 256KB (set via __stack cookie)
Binary size: ~253KB

Includes full source code (original POSIX and ported Amiga versions)
and PORT.md documenting every transformation applied.


Contents of dev/lang/lua-5.4.7.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Mar 23 01:37 lua/
-rw-r--r--     0/0        4528    9816  46.1% -lh5- 3bae Mar 23 01:38 lua/PORT.md
-rwxr-xr-x     0/0      129782  253384  51.2% -lh5- 3e31 Mar 23 01:38 lua/lua
-rw-r--r--     0/0         951    1667  57.0% -lh5- 522f Mar 23 01:38 lua/lua.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files  135261  264867  51.1%            Mar 25 08:18
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>