lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It's possible to just check if a script contains
syntax errors?

If I use luaL_loadstring, the string it's compiled,
and the functions/global vars are inserted on the
global environment.

I don't wanna this.

I just want to warn the user if he/she made some
syntax error.

The script will run later.

Imagine an editor with two buttons: "Verify Syntax"
and "Run".




Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe!