User Activity

  • Committed [938947] on Hg Code

    5.5 named vararg support

  • Posted a comment on discussion General Discussion on unluac

    Opmap (mostly just using the patterns compared to the default opmap, not checked closely, but decompiles at least): .op 0 add .op 1 sub .op 2 mul .op 3 mod .op 4 pow .op 5 div .op 6 idiv .op 7 band .op 8 bor .op 9 bxor .op 10 shl .op 11 shr .op 12 unm .op 13 bnot .op 14 not .op 15 len .op 16 concat .op 17 move .op 18 loadk .op 19 loadkx .op 20 loadbool .op 21 loadnil .op 22 getupval .op 23 gettabup .op 24 gettable .op 25 settabup .op 26 setupval .op 27 settable .op 28 newtable .op 29 self .op 30...

  • Posted a comment on discussion General Discussion on unluac

    I just remembered, someone has posted code like this before: https://sourceforge.net/p/unluac/discussion/general/thread/ef8a1e0455/?limit=25#5607 I had cleaner handling of the line number change, but otherwise I think I said about the same thing.

  • Posted a comment on discussion General Discussion on unluac

    Non-standard binary format. Line numbers in debug info are only 1 byte each (looks like maybe delta encoded, but unluac doesn't care what the line numbers are anyway). Right after that there is another list. I didn't look at it much, but seems like entries are 8 bytes (probably two 4-byte ints). This quick patch will let unluac parse (and thus --disassemble): # HG changeset patch # User tehtmi # Date 1769420022 28800 # Mon Jan 26 01:33:42 2026 -0800 # Node ID ffffffffffffffffffffffffffffffffffffffff...

  • Committed [891576] on Hg Code

    Fix local _ENV not doing syntax sugar

  • Committed [e83ba3] on Hg Code

    Very initial 5.5 global support (global assignment check forces global keyword)

  • Committed [624c8a] on Hg Code

    shli / shri swapped in 5.5

  • Committed [937c5d] on Hg Code

    Some changes for 5.5 dead closes

View All

Personal Data

Username:
tehtmi
Joined:
2011-08-03 02:36:29

Projects

This is a list of open source software projects that tehtmi is associated with:

  • FPC Valkyrie   Last Updated:
  • Inferno: A DRL module A module for the roguelike game "DRL" featuring new content. Last Updated:
  • unluac A decompiler for Lua 5.x Last Updated:

Personal Tools