lang/lua53 5.3.6 MidnightBSD
Powerful, efficient, lightweight, embeddable scripting language
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- lang
Description
Lua is a programming language originally designed for extending applications, but also frequently used as a general-purpose, stand-alone language. Lua combines simple procedural syntax (similar to Pascal) with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping.
A fundamental concept in the design of Lua is to provide meta-mechanisms for implementing features, instead of providing a host of features directly in the language. For example, although Lua is not a pure object-oriented language, it does provide meta-mechanisms for implementing classes and inheritance. Lua's meta-mechanisms bring an economy of concepts and keep the language small, while allowing the semantics to be extended in unconventional ways. Extensible semantics is a distinguishing feature of Lua.
Lua is implemented as a small library of C functions, written in ANSI C, and compiles unmodified in all known platforms. The implementation goals are simplicity, efficiency, portability, and low embedding cost.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | lang/lua53 | 5.3.6 |
| FreeBSD | lang/lua53 | 5.3.6_1 |
| NetBSD | lang/lua53 | 5.3.6 |
| DragonFly | lang/lua53 | 5.3.6_1 |
Install
Binary package:
mport install lua53
From mports:
cd /usr/mports/lang/lua53 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= lua53>0:lang/lua53
LIB_DEPENDS= liblua-5.3.so:lang/lua53
Dependencies
No port depends on this one.
Configuration
Options name: lang_lua
| Option | Default | Description |
|---|---|---|
| APICHECK | off | Enable API checks |
| ASSERT | off | Enable interpreter assertions |
| DOCS | off | Install language and API reference (HTML, ~400kB) |
| EDITNONE | off | No command-line editing |
| LIBEDIT | off | Use libedit (breaks lcurses) |
| LIBEDIT_DL | on | Use dynamically loaded libedit (recommended) |
| READLINE | off | Use GNU Readline (breaks lcurses) |
- USES
- cpe lua:core,53
- Service scripts
- none
Files
Manual pages 2
- lua53(1)
- luac53(1)
pkg-plist 14
- bin/lua53
- bin/luac53
- include/lua53/lauxlib.h
- include/lua53/lua.h
- include/lua53/lua.hpp
- include/lua53/luaconf.h
- include/lua53/lualib.h
- lib/liblua-5.3.a
- lib/liblua-5.3.so
- libdata/pkgconfig/lua-5.3.pc
- share/man/man1/lua53.1.gz
- share/man/man1/luac53.1.gz
- @dir lib/lua/5.3
- @dir share/lua53/5.3
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lua-5.3.6.tar.gz | 303770 | fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60 |
Master sites 1
- https://www.lua.org/ftp/