|
|
260963f7cd
|
Add _ENV-table as special case for the VM
|
2026-03-20 18:32:50 +02:00 |
|
|
|
131c01c8f0
|
Fix parsing of _ENV
|
2026-03-20 18:30:00 +02:00 |
|
|
|
b3492032e4
|
Fix warning
|
2026-03-20 18:28:21 +02:00 |
|
|
|
ee4b5435a4
|
Fix doctest
|
2026-03-20 18:27:41 +02:00 |
|
|
|
f12f3b629b
|
Make environment a true table
|
2026-03-20 18:27:04 +02:00 |
|
|
|
56943d612a
|
Move Constant to Value
|
2026-03-20 18:17:31 +02:00 |
|
|
|
2710a43bb2
|
Move value to vm/value
|
2026-03-20 18:16:07 +02:00 |
|
|
|
139887fd73
|
Move some other stuff to value as well
|
2026-03-20 18:14:01 +02:00 |
|
|
|
b1ddd31fb7
|
Move value to own file
|
2026-03-20 18:12:07 +02:00 |
|
|
|
ced6e79bcc
|
Add block statements
|
2026-03-20 18:04:35 +02:00 |
|
|
|
fb82ce6feb
|
Add empty ;-statement
|
2026-03-20 18:01:40 +02:00 |
|
|
|
8bb49321ae
|
Add expressions in parenthesis
|
2026-03-20 18:00:13 +02:00 |
|
|
|
3eaf91760e
|
Fix various issues with upvalues
|
2026-03-20 16:05:02 +02:00 |
|
|
|
57b2793ede
|
Fix upvalues
|
2026-03-20 15:24:50 +02:00 |
|
|
|
84eb837534
|
Add for-in, fix a bunch of bugs
|
2026-03-20 00:07:26 +02:00 |
|
|
|
2e853f29b4
|
Move function call compilation to own function
|
2026-03-19 22:43:51 +02:00 |
|
|
|
11f4e4e8a3
|
Fix while, add to test.lua
|
2026-03-19 21:37:59 +02:00 |
|
|
|
50e826061b
|
Add repeat until
|
2026-03-19 21:36:05 +02:00 |
|
|
|
42164ef6fe
|
Add while-loop
|
2026-03-19 21:29:52 +02:00 |
|
|
|
4c9b9085fd
|
Add if/elseif/else
|
2026-03-19 17:46:47 +02:00 |
|
|
|
50bd615767
|
Add compiling of the else-block
|
2026-03-19 17:35:31 +02:00 |
|
|
|
b6a38101f7
|
Add parsing of elseif and else
|
2026-03-19 17:31:12 +02:00 |
|
|
|
0faeeae0ea
|
Implement labels and goto
|
2026-03-19 17:07:20 +02:00 |
|
|
|
a7908fb39a
|
Add break-keyword
|
2026-03-19 16:50:05 +02:00 |
|
|
|
c59c4e4e24
|
Add Pre-Instructions
|
2026-03-19 16:39:51 +02:00 |
|
|
|
93493ce283
|
Implement numerical for loops
|
2026-03-18 20:52:02 +02:00 |
|
|
|
3405f45169
|
Add basic for loops
|
2026-03-18 20:39:00 +02:00 |
|
|
|
954b8417b3
|
Bring back proper consecutive register reuser
|
2026-03-18 19:56:02 +02:00 |
|
|
|
28e1b43b81
|
Fix varargs for single value returns
|
2026-03-18 19:47:47 +02:00 |
|
|
|
a0108b4fd4
|
Add varargs
|
2026-03-18 19:33:41 +02:00 |
|
|
|
b0fc0a1dce
|
Add returning varargs
|
2026-03-18 19:23:14 +02:00 |
|
|
|
17c7432b7b
|
Add varargs to parse
|
2026-03-18 19:11:53 +02:00 |
|
|
|
b55c5eb070
|
Add MoveRetValues instruction
|
2026-03-18 18:20:40 +02:00 |
|
|
|
38e5b41644
|
Make lists allow multires for final table constructor position
|
2026-03-18 01:54:39 +02:00 |
|
|
|
73e33444c9
|
Add table length
|
2026-03-18 00:03:13 +02:00 |
|
|
|
9e9106991e
|
Implement constructors with one function call inside
|
2026-03-17 23:39:15 +02:00 |
|
|
|
4ecf6ed3eb
|
Add indexed access expressions
|
2026-03-17 22:45:43 +02:00 |
|
|
|
2afe480be1
|
Fix warnings
|
2026-03-17 22:26:39 +02:00 |
|
|
|
0fda2c6d4b
|
Fix some bugs
|
2026-03-17 22:26:02 +02:00 |
|
|
|
80dfd74ee5
|
Add very basic docs
|
2026-03-17 22:16:27 +02:00 |
|
|
|
f55f9be345
|
Add floats
|
2026-03-17 22:10:40 +02:00 |
|
|
|
8c0220c0c2
|
Allow dead code in token_stream
|
2026-03-17 21:57:42 +02:00 |
|
|
|
e30ecd865a
|
Remove a bunch of warnings
|
2026-03-17 21:56:42 +02:00 |
|
|
|
0fcd00864b
|
Libraryfy usage
|
2026-03-17 21:51:45 +02:00 |
|
|
|
e259bae865
|
Fix or and and operators
|
2026-03-17 21:11:17 +02:00 |
|
|
|
f6548019e3
|
Add keywords nil, true, false
|
2026-03-17 21:05:51 +02:00 |
|
|
|
1e2feb9c3c
|
Add booleans
|
2026-03-17 20:58:15 +02:00 |
|
|
|
c37e95e445
|
Add operators for int as well
|
2026-03-17 20:43:57 +02:00 |
|
|
|
0795957d0d
|
Add integers and floats separately
|
2026-03-17 20:26:13 +02:00 |
|
|
|
3b18b6c71e
|
Make VMNumber and LuaNumber into structs
|
2026-03-17 20:19:58 +02:00 |
|