Marek S. Łukasiewicz and GitHub
971e19f591
Add Lua features for integers ( #1363 )
...
* Parse hexadecimal numeric constants in Lua
Fix lua grammar to not require a "+" after "e" in numbers.
Add tests for parsing correct number value.
* Implement bitwise operators in Lua
They throw an error when called on fractional values,
like Lua 5.4 but with a hint to round them manually.
2025-04-30 10:58:45 +02:00
Zef Hemel
5b9122eb62
Fix very subtle Lua async bug
2025-03-28 18:25:47 +01:00
Zef Hemel
a773d320f6
Lua: support distinct queries
2025-03-21 16:11:00 +01:00
Zef Hemel
f514ef1b53
Lua: support passing Lua function callbacks to native JS functions
2025-03-14 10:02:25 +01:00
Zef Hemel
242ae73078
Lua: fix some subtle Lua-isms
2025-03-09 15:37:38 +01:00
Zef Hemel
922e4bfe49
Lua: fixed subtle issue where singlular expression statements wouldn't await finishing
2025-03-08 10:17:10 +01:00
Zef Hemel
549b73c37d
Lua: optimize returns to no longer leverage exception throwing in the common case
2025-03-07 12:42:12 +01:00
Zef Hemel
105908204b
Fixes #1253
...
More accurate type classification and eager evaluation of left "and" operand.
2025-02-22 21:28:00 +01:00
Zef Hemel
538032ea94
Cleanup eval a bit
2025-02-20 07:55:09 +01:00
Zef Hemel
654151437c
Lua: Set string as metatable of string values, allowing for strVal:upper() style invocations
2025-02-09 11:06:15 +01:00
Zef Hemel
265aa8dab6
Lua: left eval or
2025-01-26 08:05:52 +01:00
Zef Hemel
6078452a6c
Breaking Lua API changes:
...
* tpl -> template.new
* define_command -> command.define
* define_event_listener -> event.listen
* tag -> index.tag
Updated in the docs
2025-01-19 14:32:11 +01:00
Zef Hemel
55f5a465c8
Lua query fixes
2025-01-16 15:33:18 +01:00
Zef Hemel
ccea2200ac
JS iterable handling
2025-01-16 12:35:15 +01:00
Zef Hemel
5604f6d8c2
Lua: tweaks and docs
2025-01-14 20:26:47 +01:00
Zef Hemel
cbf227fa49
Lua Queries: make object attributes variables
2025-01-13 21:17:08 +01:00
Zef Hemel
bf6a34f82c
Lua Integrated Query
2025-01-13 20:25:39 +01:00
Zef Hemel and GitHub
61f82869e9
Lua integrated query work ( #1205 )
...
* Lua query embeddings
2025-01-12 16:54:04 +01:00
Zef Hemel
15ad6f3129
Lua: language fixes, and new space_lua APIs
2025-01-09 18:22:12 +01:00
Zef Hemel
b6f1977cec
Lua runtime fixes
2025-01-09 10:27:41 +01:00
Zef Hemel
c2fea2d25b
Lua work
2025-01-08 17:09:09 +01:00
Zef Hemel
fc9213c7ca
Lua cleanup
2025-01-08 11:39:00 +01:00
Zef Hemel
ec6db8c766
Lua vararg testing
2025-01-08 11:04:33 +01:00
Zef Hemel
c70f8fef1a
Lua scope fixes
2025-01-08 10:00:46 +01:00
Zef Hemel
123309d791
Lua get and set now possibly async
2024-10-26 16:02:37 +02:00
Zef Hemel
8acb112e4e
Lua stack frame refactor
2024-10-20 15:06:23 +02:00
Zef Hemel
3319c7f21c
More lua progress: JS Interop
2024-10-09 20:35:11 +02:00
Zef Hemel
899c2556cb
Lua: more fixes and work on stdlib
2024-10-08 19:53:09 +02:00
Zef Hemel
6c71862641
Lua: multi-line string literals
2024-10-07 09:08:36 +02:00
Zef Hemel
1299d85e9a
First simple Lua directive Live Preview
2024-10-05 15:37:36 +02:00
Zef Hemel
2c08cb1821
More lua features (some metatable support) and tests
2024-10-04 17:15:50 +02:00
Zef Hemel
69c1da3dfb
[Lua] Property access and function call fixes
2024-10-03 18:52:44 +02:00
Zef Hemel
3cf7b72ebb
First integration of Lua into the core (via space-lua code blocks)
2024-10-03 17:55:51 +02:00
Zef Hemel
cdcce0d828
Lua work
2024-09-27 17:09:25 +02:00
Zef Hemel
aa712ed8f4
More work on Lua
2024-09-27 09:11:06 +02:00
Zef Hemel
362b590ba3
Some more Lua progress
2024-09-24 10:15:22 +02:00
Zef Hemel
9d43c9a11d
Fix lint issues
2024-09-12 21:53:37 +02:00
Zef Hemel
4c87d3eb9e
Evaluator start
2024-09-12 17:01:54 +02:00