Skip to content

Use cases for symbol tables in Lua land? #38

Answered by cuavas
MBDesu asked this question in Q&A
Discussion options

You must be logged in to vote

This all leaves me scratching my head and wondering: what is the point of symbol tables?

Lua plugins need to be able to manipulate symbol tables in order for me to be able create a proper replacement for the built-in cheat engine. The current hacky approach of trying to lexically convert debugger expressions to Lua expressions is flaky and doesn’t always work properly. More generally, symbol tables can be by plugins or scripts that accept user input using debugger expression syntax to trigger on arbitrary events.

Your observation that they don’t allow scripts to inject symbols into the debugger is correct. That may change in the future.

emu.add_machine_stop_notifier() adds a notifier th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MBDesu
Comment options

Answer selected by MBDesu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants