Skip to content

ex/Killa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Killa

Killa is a programming language based in Lua and Javascript. It uses the Lua virtual machine and the Lua external C API with almost no changes but it has a different syntax similar to Javascript without the prototype mechanism and the ugly parts.

Killa is a work in progress but it is already functional and has been tested inside popular game engines like the cocos2d-x engine: https://github.com/ex/cocos2d-x

Documentation

Proper documentation is missing but most of the functions are straightforward Lua functions, with the same functionality, except index zero changes. Some blog posts exist and you can also check the script examples in the test folder. The Spanish Thesis from where this project was born is here

Build on Windows

For Windows use the provided Visual Studio 2019 Community solution.

Build on Mac OSX

Open the terminal and go to the directory where the Makefile is and type:

make macosx
make test

tested in Mac OSX 10.6.8

Build on Linux

From the terminal type:

make linux
make test

tested in Ubuntu 11 In case of error due to a readline.h header, install the library:

sudo apt-get install libreadline-dev

Try it

For Windows users there are provided binaries and some example scripts to run. Go to the directory [bin/windows] and type in the console window:

killa test.kia
killac -l test.kia

About

Killa is a programming language based in Lua and Javascript.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages