Page 1 of 1

Lua 5.3.0

Posted: Thu Apr 02, 2015 5:02 am
by ers35
Attached is a patchset for Lua 5.3.0 that adds an XMOS build target. It is a quick test to try the increased memory capacity of the xCORE-200, not a production project. I tested with xsim and the eXplorerKIT.

1) Have tools 14.0.0 installed and in your path.
2) Download and extract
lua-5.3.0-xcore.tar.gz
somewhere.
3) Run

Code: Select all

sh lua-5.3.0-xcore.sh
to download Lua 5.3.0, apply the patches, build it, and run the resulting executable with xsim. You should see the Lua prompt.
4) Enter a program into the REPL:

Code: Select all

Lua 5.3.0  Copyright (C) 1994-2015 Lua.org, PUC-Rio
> print(os.date())            
Thu Apr  2 03:55:18 2015
I also attached an XE. Run with xsim:
lua-5.3.0.xe.gz

Re: Lua 5.3.0

Posted: Mon Apr 06, 2015 10:48 am
by srinie
Nice work!
Windows 7 had some troubles to build though, but a valued project to share with us - thanks :)

Re: Lua 5.3.0

Posted: Fri Apr 10, 2015 3:46 pm
by ers35
srinie wrote:Nice work!
Windows 7 had some troubles to build though, but a valued project to share with us - thanks :)
The build requires programs not available by default on Windows. Use GNU/Linux or Mac OSX.

I attached an XE so you can run without building.