FORTRAN SOFTWARE CATALOG

Repository owner: Philipp (interkosmos)

fortran-lua53

Fortran bindings for embedding and calling Lua 5.3 scripts.

Repository · Pinned source (d0d684978e92) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Interoperability
License
ISC

Topics: c-bindings, fortran, fortran-package-manager, fpm, interoperability, lua, lua53, scripting

Classification scope and review notes

Upstream Lua 5.3 bindings and source code are unchanged. A checksum-guarded manifest edit links the versioned Debian Lua 5.3 library instead of the unversioned lua name. The native development package is locked to 5.3.6-2+b4. The consumer defines a Lua function in memory, calls it for four integer arguments, independently verifies integer squares and real square roots, checks Lua status and function presence, empties the stack after each call and closes the interpreter. No files or external services are needed. Lua modules, callbacks into Fortran and arbitrary scripts are not comprehensively validated.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

No additional GitHub package dependencies were recorded for this verified build.

Build record verified 2026-10-29.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

lual_newstate / lual_loadstring / lua_pcall / lua_tointeger / lua_tonumber / lua_close

Module: lua

S

S: source-supported

Derivatives / callbacks: not applicable

Upstream Lua 5.3 bindings and source code are unchanged. A checksum-guarded manifest edit links the versioned Debian Lua 5.3 library instead of the unversioned lua name. The native development package is locked to 5.3.6-2+b4. The consumer defines a Lua function in memory, calls it for four integer arguments, independently verifies integer squares and real square roots, checks Lua status and function presence, empties the stack after each call and closes the interpreter. No files or external services are needed. Lua modules, callbacks into Fortran and arbitrary scripts are not comprehensively validated.

Pinned source: src/lua.f90

Author examples/tests: examples/fibonacci/fibonacci.f90