User Activity

  • Posted a comment on discussion General Discussion on unluac

    Yeah, unluac doesn't support this case. It should be easy to add it. I might make it an option flag because I think there are ambiguous cases (vararg, no params, 1 upvalue is the environment table for 5.2 plus). There's no canonical way to output it, but I guess I'll probably make an outer chunk that returns an anonymous function and declares any necessary upvalues.

  • Committed [3155dd] on Hg Code

    Also run tests in Lua 5.4.8

  • Committed [a20391] on Hg Code

    Heuristic to avoid backward jump as 'always loop' if it introduces more needed gotos

  • Committed [0d29da] on Hg Code

    Refinements of if/goto handling for 5.4.3+ (Lua changeset ab1aca94e83d2eff1605ea1854df023c814cef21)

  • Posted a comment on discussion General Discussion on unluac

    There were some other related issues. Should be fixed with the newer version (2025_10_20) With the Lua 5.4.8 compiler, some of the goto tests also failed, seems like an unrelated issue, but I haven't tried to look for the compiler change yet. Maybe not such an impediment to decompilation (doesn't crash, and is maybe equivalent code, just not round-trip-identical).

  • Committed [5456b4] on Hg Code

    version string

  • Committed [83df97] on Hg Code

    Fix remaining variable scope issues from 5.4.5+

  • Committed [ee1af0] on Hg Code

    Some refactoring of close/scope handling / fix repeat break target with jmp-style close

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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.