I hacked the lua 5.1.4 version to allow it boot on the Milkymist One
board, you can grab the code from 

 https://github.com/kristianpaul/milkymist-lua.git
 git checkout milkymist

And check  README.Milkymist,

You can run:

  print(math.floor(((1+math.sqrt(5))/2)^20/math.sqrt(5)+0.5))
  (http://kristianpaul.org/~paul/tmp/luam.png) 

In order to compute and print the 20th Fibonacci number using just a
line of code, later rtems could help in order to load scripts from file
system.

Saludos,
Cristian Paul

Attachment: signature.asc
Description: Digital signature

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to