LoLa icon indicating copy to clipboard operation
LoLa copied to clipboard

LoLa is a small programming language meant to be embedded into games.

Results 14 LoLa issues
Sort by recently updated
recently updated
newest added

These are 404: * Bison Grammar * Flex Tokenizer

bug
documentation

Add a new data structure that works similar to arrays, but uses names as indices instead of numbers: ```js var struct = [ .x = 10, .y = 20, ];...

language
proposal

Implement serialization of a virtual machine state. Design problem: How to serialize the call stack? Long-running functions require a possibility to be serialized, same for reconstruction of Environment pointers

virtual machine

Right now, the LoLa implementation is only usable from within Zig and is not C compatible. This should change so other people can embed the runtime and compiler in foreign-language...

c implementation

For the standalone version of LoLa, implement means to compile LoLa code at runtime via a `Compile` function. > **`Compile(source: string) object|void`** > Compiles the given LoLa `source` and returns...

runtime library
proposal

For the standalone version of LoLa, implement means to allow scripts to be connected via a network interface. The implementation could have the following interface: > **`Connect(hostname: string, [port: number]):...

runtime library
proposal

Think about this: ```js function SumOf(a: number, b: number): number { return a + b; } ``` This depends on #22, as otherwise the type annotation would not make sense.

language
proposal

Allow the compiler to precalculate constant expressions to reduce runtime overhead. Example: ```js var foo = 10 * 3 + 2; ``` can be optimized to ```js var foo =...

feature
compiler

Use something like [SSA](https://en.wikipedia.org/wiki/Static_single_assignment_form) to detect that local variable slots can be reused, so the virtual machine can do smaller allocations for local variables.

feature
compiler