Lua 5.3.0

XCore Project reviews, ideas, videos and proposals.
Post Reply
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm
Contact:

Lua 5.3.0

Post 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
(1.92 KiB) Downloaded 408 times
lua-5.3.0-xcore.tar.gz
(1.92 KiB) Downloaded 408 times
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
(308.36 KiB) Downloaded 441 times
lua-5.3.0.xe.gz
(308.36 KiB) Downloaded 441 times
Last edited by ers35 on Fri Apr 10, 2015 5:11 pm, edited 3 times in total.


srinie
XCore Addict
Posts: 158
Joined: Thu Mar 20, 2014 8:04 am

Post by srinie »

Nice work!
Windows 7 had some troubles to build though, but a valued project to share with us - thanks :)
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm
Contact:

Post 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.
Post Reply