lp:~dzejrou/helenos/lua

Created by Jaroslav Jindrak on 2017-07-08 and last modified on 2017-07-09

The port of the Lua programming language (C library, interpreter and compiler) to HelenOS.

STATUS:
> Lua (language): math needs implementation, os.execute does not work because of
                                      the lack of system(...), locale functionality limited to that
                                      of lib/posix/include/posix/locale.h

> Lua (C library): needs testing

> Lua (interpreter): works as intended

> LuaC: works as intended

> Build: libposix is not built before liblua despite POSIX_COMPAT being set in the makefile

Get this branch:
bzr branch lp:~dzejrou/helenos/lua
Only Jaroslav Jindrak can upload to this branch. If you are Jaroslav Jindrak please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Jaroslav Jindrak
Project:
HelenOS branches
Status:
Development

Recent revisions

2699. By Jaroslav Jindrak on 2017-07-09

Added temporary workaround around os.execute(), now simply returns false and an error message which should make it work with regular Lua scripts.

2698. By Jaroslav Jindrak on 2017-07-09

Removed inclusion of math.h, as it seems libmath is going to have to be used. Modified copyright notices in makefiles.

2697. By Jaroslav Jindrak on 2017-07-09

Integrated libclui's tinput into the Lua interpreter, which now properly shows user input when it's typed in.

2696. By Jaroslav Jindrak on 2017-07-08

Reordered header includes, time.h did not know about size_t before this change.

2695. By Jaroslav Jindrak on 2017-07-08

Added Lua and LuaC to bzignore.

2694. By Jaroslav Jindrak on 2017-07-08

Added Lua and LuaC to the build system.

2693. By Jaroslav Jindrak on 2017-07-08

Added LuaC, no source code modification needed.

2692. By Jaroslav Jindrak on 2017-07-08

Added Lua, no source code modification needed, but the console does not show text the user types into the interpreter.

2691. By Jaroslav Jindrak on 2017-07-08

Added makefile, Lua can now be built but libposix isn't built before it despite the POSIX_COMPAT macro being set.

2690. By Jaroslav Jindrak on 2017-07-08

Added source files, adjusted some parts of the code to integrate into HelenOS - names of functions, semantics. Commented out all the inclusions of math.h and included the temporary compatibility header lmath.h.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:helenos
This branch contains Public information 
Everyone can see this information.

Subscribers