Commit Graph

14 Commits

Author SHA1 Message Date
CPunch 3be45f156a lp: support OP_CLOSURE, boilerplate function/proto support 2022-08-17 22:14:45 -05:00
CPunch bc4e762e26 lp: bug fix (forgot to transfer registers) 2022-08-16 00:26:50 -05:00
CPunch 19bed999ee lp: added __parseNewTable(), better table pseudo-code 2022-08-16 00:12:26 -05:00
CPunch a248cc4807 lp: added NEWTABLE && SETLIST
- tables can now be (mostly) decompiled
- changed 'decompiled source' to 'pseudo-code' since the output doesn't typically match the compiled script source.
- misc. refactoring
2022-08-15 23:30:32 -05:00
CPunch 9da0d0ffbd lp: support FORPREP && FORLOOP 2022-08-14 01:36:05 -05:00
CPunch 5d91dbbc64 lundump.py: better instruction annotations 2022-08-12 17:31:15 -05:00
CPunch 0d947f4f3d Added 'repeat .. until' support
- lines are now tracked by start & end PC
- new config option: annotatedLines. if true line annotations show start & end PC will be emitted
- lundump.py now shows locals for each proto
2022-08-12 17:08:31 -05:00
CPunch 0f72e71a59 lparser.py: proper support for locals 2022-08-11 23:58:21 -05:00
CPunch 95ca3bb26b lparser.py: added support for while loops 2022-08-11 17:26:48 -05:00
CPunch 78e137d033 updated README 2022-08-11 16:56:42 -05:00
CPunch 875e91636b lundump.py: SETGLOBAL uses K[] 2022-08-11 16:49:48 -05:00
CPunch 055af56e27 lparser.py: don't read RK values here, use lundump.py to read them 2022-08-11 16:45:05 -05:00
CPunch ac0b7039d2 README: clarification 2022-08-11 16:00:41 -05:00
CPunch 0adecfae2b Added README 2022-08-11 15:54:19 -05:00