https://github.com/fincs/feoslua
FeOS Lua port
https://github.com/fincs/feoslua
Last synced: about 1 year ago
JSON representation
FeOS Lua port
- Host: GitHub
- URL: https://github.com/fincs/feoslua
- Owner: fincs
- License: other
- Created: 2011-07-21T20:54:26.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2014-07-31T23:56:16.000Z (almost 12 years ago)
- Last Synced: 2025-03-23T20:43:21.564Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 514 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
FeOSLua v0.0-prerelease
=======================
Introduction
------------
FeOSLua is a port of Lua 5.2 to FeOS. Currently it's very incomplete, but it works :)
Differences from vanilla Lua
----------------------------
Lua is configured to use `int` as its datatype instead of `double`, for obvious reasons. The following things are also not supported:
- The power operator
- The maths library
- `os.clock`, `os.difftime`, `os.getenv`, `os.setlocale`, `os.tmpname`
- `io.tmpfile`, `file:setvbuf`
How to build FeOSLua
----------------------
`cd` to the directory the repo is in and run `make install`.
Of packages and native libs
---------------------------
FeOSLua supports loading native Lua plugins. These are the default paths:
- `LUA_LDIR = /data/FeOS/Lua/lib/` (Lua libraries)
- `LUA_CDIR = /data/FeOS/Lua/lib/native/` (Native Lua plugin)