m3lt

Results 6 comments of m3lt

guess extending the numeric operators on how to handle "inf" would be the right move. That is here, right? https://github.com/rvirding/luerl/blob/develop/src/luerl_emul.erl#L1020' sounds like a good first pr.

> The problem is that Erlang floating point doesn't "inf", if you divide by `0.0` you get a `badarith` error. There is nothing to do about this. I mean, we...

like how close to the official lua c implementation is luerl supposed to be?

is there still interest on this? If you want to hook into the lua `require` you have to write a searcher and loader. I did it [here](https://github.com/iggi42/luex/blob/master/lib/luex.ex#L221), feel free to...

I would be down to writing a PR for this, assuming I understand the issue correctly. Just to be clear, you are looking for a function like `setup_require(lua_vm, [ api_module...

yeah, you can already do that, there is no need to change this project for that, imo. See [package.searchers](https://www.lua.org/manual/5.3/manual.html#pdf-package.searchers) in lua for how to.