In this project a Lua interpreter is developed with Java and C. JNA and Lua C api are used. The interpreter runs on Linux, to make it run on Windows you should convert the .so libraries to .ddl .
To use the needed libraries run the following command from the terminal:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH../Project/lib .
You also need to install jna.jar and jna-platform.jar. Then, run the java file from cmd with the following commands:
- javac -cp "../Project/jna/jna.jar:jna-platform.jar" filename.java
- java -cp "../Project/jna/jna.jar:jna-platform.jar" filename
This project was done as part of the work for an internship at ESTECO, Trieste.