A scripting language that accepts a subset of javascript and C/C++ - forked from Squirrel. A Lua like scripting language and VM with a more C Inspired syntax.
#cpp #lua #sqlite #scripting #script-engine #library #gamedev #game-engine #embedded #embed
|
|
8 mesi fa | |
|---|---|---|
| SquiLu | 8 mesi fa | |
| SquiLu-editor | 9 anni fa | |
| SquiLu-ext | 3 anni fa | |
| SquiLu-ourbiz | 8 anni fa | |
| discount | 9 anni fa | |
| fltk | 7 anni fa | |
| flu | 10 anni fa | |
| gumbo | 7 anni fa | |
| libharu | 7 anni fa | |
| librs232 | 10 anni fa | |
| minizip | 10 anni fa | |
| mpdecimal | 10 anni fa | |
| myaxtls | 7 anni fa | |
| unql | 10 anni fa | |
| README.md | 3 anni fa |
The [http://www.squirrel-lang.org/ squirrel scripting language] seeks to address some problems of lua language and offer a C like syntax with some god extras but it lacks a source code repository and some facilities provided by default in lua like string.gsub, string.gmatch, io.lines, modules, ..., this project try to solve it and extend the language to make it even more useful.
This project is not endorsed by Squirrel or Lua authors, it's an independent effort, and it will try to cooperate with both.
Some modules, third party code, or sample code can have different licenses !!!
It is the base of a cross platform application server (windows, macosx, linux, android, wince, http/javascript, ...)
A preview of the application server running on an Android phone (Huawei U8105 IDEOS on an ADSL line) can be seem here:
Also you'll find several changes and additions to the original Squirrel 3.0.4:
Changes to the Squirrel syntax:
New functions
Internals:
Class fields can be specified like in typescript, the compiler is not enforcing it yet but accepts and discards for now. {{{ class Person { public name: string; private age: number; postcode: string; address = null;
constructor(name: string, age: number) {
this.name = name;
this.age = age;
postcode = "none";
address = "unknown";
}
function asString(): string {
return this.name + " (" + this.age + ")";
} } }}}
...