Soni L.

Results 394 comments of Soni L.

this is roughly what my code currently looks like: https://bpaste.net/show/645QM I used those ugly classmethods as a workaround.

```python class PatternError(Exception): """Raised for invalid input or output expressions.""" # TODO implement formatting def __init__(self, msg, pattern, defs, pos, toks): self.msg = msg self.pattern = pattern self.defs = defs...

this? http://users.teilar.gr/~g1951d/ (symbola to be more specific)

I kinda opened that issue so I could ship my LOVE code with a patched LuaJIT parser/compiler. it would only handle LuaJIT bytecode but I'm okay with that tbh. I...

What? I'm just suggesting we write lua_load in pure Lua - but you need to bootstrap it so `lua ./compiler.lua ./compiler.lua | into_c_array > compiler.c` and run it directly on...

it's no more arbitrary than the machine code around it. what's your C compiler written in? the lua_load bytecode would be internal to the VM. luajit already does this with...

try ~~math.max~~ math.rad. take a look here: https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/host/genlibbc.lua

https://github.com/raptorjit/raptorjit/blob/master/src/host/buildvm_libbc.h ?

the makefile generates an `lj_bcdef.h`

I think so. I don't exactly think that should be in the code, tho. instead it should be in a separate file.