A language based on lua-like tables with lots of syntactic sugar
Find a file
2022-11-14 23:27:21 +01:00
src Remove parsing code 2022-11-14 23:27:21 +01:00
.gitignore Create project 2021-09-26 12:54:50 +02:00
Cargo.lock Remove parsing code 2022-11-14 23:27:21 +01:00
Cargo.toml Remove parsing code 2022-11-14 23:27:21 +01:00
README.md Update readme to reflect new direction 2022-11-14 23:25:51 +01:00

Tada

Tada is an interpreted language inspired by Lua.

It started with the idea of making Lua more consistent. For example, why not return multiple values by returning and then destructuring a table? That would also allow accessing return values besides the first in expressions. Since we need destructuring anyways, why not use a table to pass arguments? Positional and keyword arguments would directly fall out of that approach.

After some discussion, this turned into using tables as answer for pretty much every design decision. Functions? Tables. Code blocks? Tables, their curly braces fit pretty well already. Scopes? Tables. Function calls? Tables. Source code? Tables, with most "normal" syntax being simple syntactic sugar.