Lua 5.3.0

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

Lua 5.3.0

Postby ers35 » Thu Apr 02, 2015 5:02 am

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 148 times
lua-5.3.0-xcore.tar.gz
(1.92 KiB) Downloaded 148 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 160 times
lua-5.3.0.xe.gz
(308.36 KiB) Downloaded 160 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

Postby srinie » Mon Apr 06, 2015 10:48 am

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: 60
Joined: Mon Jun 10, 2013 2:14 pm
Contact:

Postby ers35 » Fri Apr 10, 2015 3:46 pm

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.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 6 guests