7 Commits

Author SHA1 Message Date
cron
8843f2e0eb turtle/tlang: numerous fixes for .indexing
Lua interface now supports it
The access/assign functions now use indexing by default
Things that deal with indexed stuff now assume its a table rather than a string
2020-12-11 02:59:40 +00:00
cron
bac0a83110 turtle/tlang: add numerical dot indexing
[1, 2, 3] now you can do .1 to get the 1st element (Lua style 1-indexed)
2020-12-10 04:45:58 +00:00
cron
f54064df07 turtle/tlang: add . map indexing
var.key pushes the value indexed by key in var onto the stack
quotes also work for assignment
numerical keys do not work yet
2020-12-10 04:34:48 +00:00
cron
5bcd04a69a turtle/tlang: make () work
Literally equivalent to {} run
2020-11-13 06:57:54 +00:00
cron
cd0eb1b192 turtle/tlang: add WIP API
Some things aren't _raw, other things are, its WIP
2020-11-06 00:13:21 +00:00
cron
ba9a07d262 turtle: add public domain dedications 2020-11-05 23:20:28 +00:00
cron
d47ce9b310 turtle: add working tlang
Not very well tested, needs a better public API, not integrated with Minetest, ...
This is WAY bigger than a commit should be.
The next stages will be:
- unit tests
- API (allows it to be more than just a language for this project)
- integration with Minetest
2020-11-01 02:55:54 +00:00