What commands does simulator's console support?

PlayDate Simulator has "Console" window, where all errors and prints end up in. This window has a text input at the bottom with "Enter Command" text in it. What kind of commands does this input support? I have tried a bunch of sample inputs and it seems to be a Lua REPL, but it throws syntax errors even for the simplest expressions.

Try print (1 + 1) or similar