But its main advantage is that you can program it directly on your calculator, you don't need to work on a computer and there is no need of compiler.
![:)](/dot/public/style_emoticons/default/smile.png)
I thought it would be cool to have a faster, powerful language which could be used to create games, tools etc... This is why I started to work on this project: a "Lua" interpreter for ClassPad
![:D](/dot/public/style_emoticons/default/biggrin.png)
"Lua" is a "powerful light-weight programming language designed for extending applications".
It is used to create scripts for C applications, which can compile the interpreter and run Lua code.
It is really fast and totally extensible!
All the necessary documentation about the Lua syntax and instructions may be found at www.lua.org and especially in these manuals:
http://www.lua.org/manual/5.0/
http://www.lua.org/pil/
Note: you don't have to worry about the C api. This is my part of the job
![:P](/dot/public/style_emoticons/default/tongue.png)
I have made an editor for Lua scripts, and I worked on the interpreter to port it on the ClassPad. I added some classPad specific functions like getkey(), getpen(), drawing functions etc. Here is a screenshot of the current sate of this project:
As you can see it uses a smaller font and a tiny keyboard, so you can view a large part of the code on the screen
![:)](/dot/public/style_emoticons/default/smile.png)
However if you don't really like it you will be able to change the font and the keyboard (for now, only the keyboard may be changed in the "settings" menu).
I wrote a small sample program, so you can test if it really works (
![:P](/dot/public/style_emoticons/default/tongue.png)
I'm sorry there are many little display bugs, like when windows are resizing or when you try to open the menu, but well this is just a beta, and they will disappear as soon as possible
![;)](/dot/public/style_emoticons/default/wink2.gif)
Here is the Add-In!
What I need now are your suggestions, comments, and remarks. I suppose you have ideas of new functions to implement, which are not present in Basic and which you would like to be available with this language. I already implement some parts of the standard library: basis, strings, tables, and math functions are currently available.
Here is the list of the ClassPad specific functions for now.
I hope you will really enjoy it, and that there will be many CPLua programmers in the future
![:)](/dot/public/style_emoticons/default/smile.png)
Note: I tried to create an editor myself, but it is really complex and I think I won"t have enough time for that... Finally I think I will use a standard Peg Editor
![;)](/dot/public/style_emoticons/default/wink2.gif)