Filip Tibell
b1847bf84c
Add documentation for scheduler state
2023-08-22 20:00:58 -05:00
Filip Tibell
2960f960de
More robust scheduler error resumption mechanism
2023-08-22 20:00:58 -05:00
Filip Tibell
dcb989fd92
Implement basic abs path require, propagate async errors back to lua threads
2023-08-22 20:00:58 -05:00
Filip Tibell
bcef44e286
Implement bulk of new require behavior
2023-08-22 20:00:58 -05:00
Filip Tibell
7d73601a58
Initial scaffolding to get custom globals and require working
2023-08-22 20:00:58 -05:00
Filip Tibell
7fe43a969f
Use static lifetime bound instead of spamming actual static lifetime
2023-08-22 20:00:58 -05:00
Filip Tibell
0dbf466817
Add back lua lifetime to scheduler
2023-08-22 20:00:58 -05:00
Filip Tibell
b4bbc0630a
Add table builder util
2023-08-22 20:00:58 -05:00
Filip Tibell
1f72033a6a
Use static lua for now, to make lifetimes work
2023-08-22 20:00:58 -05:00
Filip Tibell
e1fa89cf60
Some lifetime and async arg improvements
2023-08-22 20:00:58 -05:00
Filip Tibell
62e6130223
Relax scheduler method args since lifetimes are now correct
2023-08-22 20:00:58 -05:00
Filip Tibell
dc80b1c28f
Scheduler now manages entire Lua struct, elide lifetimes where possible
2023-08-22 20:00:58 -05:00
Filip Tibell
1b7287a742
Methods take owned threads
2023-08-22 20:00:58 -05:00
Filip Tibell
ab386e000d
Add lifetimes because they are fun
2023-08-22 20:00:58 -05:00
Filip Tibell
6416ef5fb7
More work on scheduler async stuff
2023-08-22 20:00:58 -05:00
Filip Tibell
7c8af9730f
Some work on async functions for new scheduler
2023-08-22 20:00:58 -05:00
Filip Tibell
0a5305b947
Add api for scheduling plain futures in scheduler
2023-08-22 20:00:58 -05:00
Filip Tibell
eafc42531f
Implement futures resumption
2023-08-22 20:00:58 -05:00
Filip Tibell
d1a2dc2fa6
Use atomics in scheduler state instead of refcell
2023-08-22 20:00:58 -05:00
Filip Tibell
4fa76aa27f
Implement thread return value broadcasting in scheduler
2023-08-22 20:00:58 -05:00
Filip Tibell
6757e1a1a8
Initial barebones scheduler implementation and interface
2023-08-22 20:00:58 -05:00
Filip Tibell
c80e504283
Clean slate
2023-08-22 20:00:58 -05:00
Filip Tibell
d5400f370f
Remove static lua lifetimes where possible
2023-08-16 11:17:43 -05:00
Filip Tibell
60026b1c85
Prompt state for REPL does not need PartialEq
2023-08-16 10:58:03 -05:00
Filip Tibell
2b855156bf
Make clippy happy for new REPL, minor changes
...
- Move some code blocks to be able to remove string cloning
- Use const strings for user-facing REPL messages
- Fix running input code twice when interrupted
- Add notes for future extensions and considerations
2023-08-16 10:56:25 -05:00
Filip Tibell
d8f6703c70
Get rid of static lifetime in lua struct creation module
2023-08-16 10:17:03 -05:00
bff6dffe90
Implement a REPL ( #83 )
2023-08-16 10:05:53 -05:00
Filip Tibell
74a41c1bf1
Clean up LuneError type for consumers
2023-08-14 16:32:06 -05:00
David C
72adb2172f
Pass arguments to coroutine in coroutine.resume
( #86 )
2023-08-14 15:52:53 -05:00
David C
c86190def1
Implement variadic versions of CFrame methods ( #85 )
2023-08-14 15:43:01 -05:00
Filip Tibell
0ab32ffffd
Add is_incomplete_input for LuneError struct
2023-08-14 10:41:55 -05:00
Filip Tibell
375f1b9334
Make luau compile options more strict to avoid panics
2023-08-11 19:17:48 -05:00
Filip Tibell
768aadc225
Move new luau builtin options struct to where others are, reduce usage of unwrap
2023-08-10 15:13:18 -05:00
AsynchronousMatrix
0a8773dc04
Implement new luau
built-in library. ( #82 )
2023-08-10 14:38:25 -05:00
Filip Tibell
78c23507c9
Fix clippy complaining about default trait
2023-08-09 16:32:17 -05:00
Filip Tibell
2407800aca
Export roblox module in lib
2023-08-09 16:31:32 -05:00
Filip Tibell
ee3d0ba502
Use published versions of rbx-dom libraries
2023-08-09 16:28:12 -05:00
Filip Tibell
fea97972a2
Enable jit
2023-08-05 17:53:32 -05:00
Filip Tibell
55a2338a3e
Use global lua compiler instead of recreating on load
2023-08-05 17:51:56 -05:00
Filip Tibell
483713e635
Use mlua trait for mapping into lua errors
2023-08-05 17:12:25 -05:00
Filip Tibell
b4c3cc77ac
Use custom serialization options in serde builtin
2023-08-05 12:24:19 -05:00
Filip Tibell
9ff142e6e2
Fix require on files with multiple extensions
2023-08-04 16:58:18 -05:00
Filip Tibell
82e5844dad
Fix remaining deadlock cases for instances
2023-08-04 14:34:58 -05:00
Filip Tibell
0869b16ba6
Use plain mutex for global dom instead of rwlock
2023-08-04 14:05:44 -05:00
Filip Tibell
31e625aa71
Separate userdata impl for Instance out into new module for maintainability
2023-08-04 13:58:54 -05:00
Filip Tibell
57f730e788
Remove old docs, move typedefs dir
2023-07-22 14:44:28 +02:00
Filip Tibell
8853aad620
Implement reflection database accessible from lua in roblox builtin
2023-07-21 12:10:56 +02:00
Filip Tibell
b0f23a406b
Implement copying api for fs builtin
2023-07-20 19:29:21 +02:00
Filip Tibell
bca3de9454
Implement metadata api for fs builtin
2023-07-20 12:25:36 +02:00
Filip Tibell
2f464f846a
Update dependencies
2023-07-20 11:07:44 +02:00