lua-users home
lua-l archive

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


Luiz -

  I have implemented your solution outlined below, and it works well for the
most part.  What testing the robustness of the compiler checks, I noticed
that if I implement a code line such as

x = yyyy(z)

that it won't report to me that the function yyy is undefined.  Does the
compiler only check general syntax and not the functional dependencies?  Is
there any way to receive these additional error messages?

Thanks for all of your efforts.

Jim

----- Original Message -----
From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Wednesday, March 26, 2003 8:02 AM
Subject: Re: List of variables within script?


> >Is there any way to evaluate a script and obtain a list of its defined
> >variables without fully executing the script or writing my own parsing
> >engine?
>
> Parse the output of luac -l. See test/globals.lua in the official
distribution.
> --lhf