leaf

Results 383 comments of leaf

There's a lua version of lpeg you can try: https://github.com/pygy/LuLPeg

I don't know your specific requirements, but for all of my projects I build moonscript ahead of time and bundle the Lua code ready to be executed.

> Oh nice. I assume I would just need to manually edit the src to use this instead? You may not have to edit anything, you could do `package.loaded.lpeg =...

For parse errors? Probably not. When a parse error happens it guesses where the error was by returning the greatest position in the input code that it was able to...

The compiler error not having access to the code position is a bug, it should have it but some refactoring needs to be done

It's due to the indentation change like @RyanSquared said. Not sure if it's a bug, just an unexpected side effect of how indentation is associated to the line. I do...

Is this because you've like to actually use the `_` variable? MoonScript typically treats it as a placeholder, but it's an unwritten rule that you should avoid reading from it.

Just adding comment in case it's helpful to anyone: if it's API compatible with LuaSocket then you can run `package.loaded.socket = core` before creating your connection object. Be warned, I...

The socket initialization is a bit confusing at the moment, but I think the best approach would be to provide a new `sock_type` option to the constructor that instructs the...