Global Table (_G)

_G gives the Translator ‘global’ table which has all the libraries and functions under it. You can use it to browse the entire Translator API and any custom functions or global variables you have created.

Using trace(_G) allows you to get a browse-able tree of all the functions available:

This can also be helpful when leveraging deep , if you know roughly what you are looking for. For example, by typing _G.par we can see all the parsing related functions:

Â