Lua Programming

Lua Programming

This example is a port of the Lua programming course from the open wikibook Lua-Programming to LiaScript. It is a fully working Lua programming course, that can be used as a basis for your own course.

Start Course

This example uses the Lua template which implements the Lua interpreter and VM from interpreter and VM https://daurnimator.github.io. The only that is required to make Lua code snippets executable in LiaScript is to attach the @LUA.eval macro to every code block.

See this project on GitHub: https://github.com/LiaBooks/Lua-Programming

… or try it out in the LiveEditor:

```

Related Posts

Fischbestimmer - FISHIDENTIFIER

This is an experiment of porting the FISHIDENTIFIER from the Deutsches Meeresmuseeum Stralsund to LiaScript. The original version can be found at: https://www.ostsee-fischbestimmer.de/en/bestimmer This port was done on the basis of the German version, but it was possible to translate the entire functionality into LiaScript. Visit the Fischbestimmer Usage About 80 species of fish regularly occur in the Baltic Sea. Roughly the same amount of species occasionally enters as vagrants from the the North Sea or via discharging rivers.

Read More

How to activate Tooltips in LiaScript

LiaScript has a new tooltip feature, which was inspired by the Wikipedia tooltips, which provide more information about a certain topic if you hover a link with the mouse. In LiaScript this feature needs to be activated manually, since it requires a little additional bandwidth, but the result is pretty much the same as in Wikipedia. To activate tooltips: open the settings-tab check the tooltips check-box This additional bandwidth is required, since the tooltips are generated on-demand and also without any backend involved.

Read More

Import A-Frame 3D models, scenes, and more into LiaScript open-courSes

This blog entry presents an example of how to import A-Frame 3D models, scenes, and more into LiaScript open-courSes. The entire README file can be interpreted as a library, we say template, that only needs to be imported into your LiaScript course via: <!-- import: https://raw.githubusercontent.com/liaTemplates/aframe/master/README.md --> # Your Course And then you can start to use all the features and examples that are provided in the original README file.

Read More