kyren
0022057058
rustfmt changes
2017-06-15 10:26:39 -04:00
kyren
8203414b76
Use LUA_RIDX_MAINTHREAD instead of weird bespoke method
2017-06-05 05:03:18 -04:00
kyren
cb7c55f742
Don't need pub on internal function
2017-06-05 01:51:48 -04:00
kyren
b3218137e1
Somewhat smarter strategy for error_guard calls, less ungodly slow.
...
Also add raw_length table function
2017-06-05 00:41:48 -04:00
kyren
47d4ea62ff
Handle unprotected lua errors SOMEWHAT more elegantly
...
There should be drastically less ways to cause unprotected lua errors now, as
the LuaTable functions which were trivial to cause unprotected errors are now
protected. Unfortunately, they are protected in a pretty slow, terrible way
right now, but it at least works.
Also, set the atpanic function in lua to call a proper rust panic instead.
2017-06-05 00:03:39 -04:00
kyren
0111625d17
Basic coroutine support, currently very slightly broken
...
There is no longer any protection in passing LuaValue between
independent states, it is being re-added
2017-05-24 23:29:57 -04:00
kyren
5c0f183a52
Improved error handling and formatting
...
Now prints lua backtraces on callback errors as well. This could be
controlled with LUA_BACKTRACE or just RUST_BACKTRACE or similar.
2017-05-22 14:25:36 -04:00
kyren
b15ee9053e
Update to use hlist_macro for hlist macros.
...
You will type hlist! hlist_pat! and HList! so often that every character
counts. Apologize for the API churn in the README.
2017-05-22 11:16:34 -04:00
kyren
065c69894a
Initial import
2017-05-21 19:50:59 -04:00