Commit graph

27 commits

Author SHA1 Message Date
Filip Tibell
bf574607fb
Make new async require work with concurrent requires 2023-03-22 18:16:45 +01:00
Filip Tibell
29a3b41e15
Implement new builtins scope for require 2023-03-21 15:06:28 +01:00
Filip Tibell
99ca1fc230
Improve general error message formatting 2023-03-08 12:56:08 +01:00
Filip Tibell
cbd4ba967e
Implement passing scripts to cli through stdin, minor bug fix 2023-03-07 22:07:53 +01:00
Filip Tibell
36a3bd2113
Use more descriptive module name instead of 'utils' 2023-02-21 11:55:30 +01:00
Filip Tibell
c45c78bdc2
More work on task scheduler 2023-02-17 19:20:17 +01:00
Filip Tibell
58ce046394
Implement proper async require & error handling 2023-02-17 15:03:13 +01:00
Filip Tibell
7f17ab0063
Only use threads and nothing else to simplify task scheduler 2023-02-17 00:08:24 +01:00
Filip Tibell
04a47babdd
Implement traceback helper to use in scheduler 2023-02-16 16:19:58 +01:00
Filip Tibell
b1e08bf813
Move scheduler fns into traits, improve error handling for scheduler not existing 2023-02-15 13:22:13 +01:00
Filip Tibell
fa14e4a02b
Refactor new task scheduler
* Use cell & refcell, we don't need mutexes

* Split out into several modules
2023-02-15 12:18:25 +01:00
Filip Tibell
a9261f889f
Do some debugging, fix scheduler not always exiting with the correct code/error 2023-02-14 16:39:15 +01:00
Filip Tibell
b5f6e6da98
Implement async background tasks for scheduler 2023-02-14 15:27:10 +01:00
Filip Tibell
d2ff0783a5
Implement bulk of async APIs 2023-02-14 13:17:07 +01:00
Filip Tibell
b1b69c7d94
Properly handle tasks that switch context in new scheduler 2023-02-13 23:36:30 +01:00
Filip Tibell
805b9d89ad
Fully implement and document the task scheduler 2023-02-13 21:29:05 +01:00
Filip Tibell
fc5de3c8d5
Initial implementation of proper task scheduler, no async yet 2023-02-13 15:28:18 +01:00
Filip Tibell
bb182033b9
Fix task.delay keeping Lune alive even if cancelled 2023-02-12 19:07:15 +01:00
Filip Tibell
6c97003571
Implement web sockets for net serve 2023-02-11 22:40:14 +01:00
Filip Tibell
6c49ef7e4a
Use static lua lifetime 2023-02-11 12:39:39 +01:00
Filip Tibell
709a69aa82
Refactor and document lune lib public members 2023-02-10 12:14:28 +01:00
Filip Tibell
3073fb8fec
Move internal message struct out from lib file 2023-02-09 23:28:12 +01:00
Filip Tibell
72f6b356c4
Initial work on async impl of process spawn 2023-02-09 17:23:06 +01:00
Filip Tibell
bbf1c9f4f7
Migrate console global to stdio 2023-02-06 00:13:12 -05:00
Filip Tibell
420a861061
Don't export everything in the lune lib 2023-02-05 22:32:10 -05:00
Filip Tibell
2e3f95ebd6
Migrate console lib printing functions to regular globals 2023-02-05 22:25:36 -05:00
Filip Tibell
aec7f820ca
Migrate to using cargo workspaces 2023-02-05 19:13:58 -05:00
Renamed from src/lib/lib.rs (Browse further)