lumi luaneko
luaneko pushed to master at luaneko/luby 2025-06-30 22:01:05 +10:00
da2598b534 Run all lua examples in docs as doctests
luaneko pushed to master at luaneko/luby 2025-06-30 21:59:14 +10:00
65b82fcd97 Run all lua examples in docs as doctests
81cd901ea6 Fix up tests
f2a13df169 Don't use semicolons in lua examples
9d7e35094c Restructure netlib
e03ef8a495 Restructure fslib
Compare 6 commits »
luaneko pushed to master at luaneko/luby 2025-06-30 17:22:16 +10:00
3de17cb77e Update docs
luaneko pushed to master at luaneko/luby 2025-06-30 15:56:51 +10:00
57f391a950 Set more aggressive jit options by default
99aa11e903 Rename Annotation trait to Annotate
Compare 2 commits »
luaneko pushed to master at luaneko/luby 2025-06-30 06:24:42 +10:00
5c257b0f74 Update luajit crate docs
1808bee82a Refactor and overhaul luajit crate
7768c5ec56 Add basic timing library
fcdee34b42 Fix doc errors
5846220e35 Make bacon watch lua files too
Compare 6 commits »
luaneko pushed to master at luaneko/luby 2025-06-28 21:11:15 +10:00
8c406a46b3 Correctly handle tcp disconnections
263ca1cf48 Add basic tcp listener test
505364a661 Check argument against negative sleep duration
d5e85f2c30 Fix race condition in task state table unref
cea9bc0813 Add lb_tcpsocket test
Compare 15 commits »
luaneko pushed to master at luaneko/luby 2025-06-28 05:58:54 +10:00
27c40c3244 All library functions no longer require self
ccae0046fb Improve cdef loading time by trimming unnecessary ctype caching
e027623d40 Future destructor doesn't need to return nothing from drop
8a49321110 Don't need to fully name option and result structs
c70b043281 Fix main printing unnecessary ExitCode Debug impl
Compare 10 commits »
luaneko pushed to master at luaneko/luby 2025-06-27 14:41:25 +10:00
5ea532f1c6 Pretty icons
luaneko pushed to master at luaneko/luby 2025-06-27 14:39:10 +10:00
40f7b85bca Pretty icons
luaneko pushed to master at luaneko/luby 2025-06-27 14:31:55 +10:00
c07ec4c3ad Add headings
luaneko pushed to master at luaneko/luby 2025-06-27 14:28:15 +10:00
7c40fb4322 Report number of passing and failing tests
luaneko pushed to master at luaneko/luby 2025-06-27 04:51:42 +10:00
eb7b05d07a Avoid globbing target dir every test
luaneko pushed to master at luaneko/luby 2025-06-27 04:30:12 +10:00
3a7f2366e4 Ensure spawn order is consistent
8443c44671 Test that task properly unrefs its table
72b3afaeea Add sleep test
503985269a Don't need to run all tests in workspace in bacon
0839e7ce9a Add task spawn tests
Compare 8 commits »
luaneko pushed to master at luaneko/luby 2025-06-27 03:11:57 +10:00
40829cdfc6 Implement basic lua test harness
db4faea821 Implement walk_dir and more robust globbing
2964ebbe1b Add basic glob function
b1572cc9f1 Rename lsdir to read_dir and dirent to dir_entry
862fcfe891 Add links to lua pdf in metamethod doc
Compare 18 commits »
luaneko pushed to master at luaneko/luby 2025-06-26 16:55:09 +10:00
31b5ff5ab9 Make all modules feature-gated to improve compile time
luaneko pushed to master at luaneko/luby 2025-06-26 13:57:50 +10:00
2078dd0d8e Delete test.lua
dfd57e0ad0 Add macro to luaify blocks instead of exprs
2a6015c19a Use pretty assertions in luaify tests
88ab48cddb Modules should be registered in luby not lb
Compare 4 commits »
luaneko pushed to master at luaneko/luby 2025-06-26 13:07:32 +10:00
bcb734846d Implement lb_tcpsocket
2fe9515702 Add newlines in generated cdef for readability
f456a544e1 Disable all lualsp diagnostics in lib.lua
ba969b9e56 Rename lb_libx to lb_xlib
da5acd6bc8 Add stab tag for metamethods
Compare 8 commits »
luaneko pushed to master at luaneko/luby 2025-06-25 22:19:26 +10:00
85a0110e1a Disable warnings in luaffi lib.lua
luaneko pushed to master at luaneko/luby 2025-06-25 22:17:28 +10:00
91302db725 Print nicer error messages
c249549b3c Fix unknown feature warning
30596d9331 Impl generic From/IntoFfi for Option
530a1530ba Call it library not module
Compare 4 commits »
luaneko pushed tag v0.0.1 to luaneko/luby 2025-06-25 20:10:34 +10:00