[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: which IDE ?
- From: Rob Kendrick <rjek@...>
- Date: Sun, 17 Jan 2010 18:01:44 +0000
On Sun, 17 Jan 2010 19:58:05 +0200
steve donovan <steve.j.donovan@gmail.com> wrote:
> On Sun, Jan 17, 2010 at 7:51 PM, Rob Kendrick <rjek@rjek.com> wrote:
> > I can't see how this can work at all. It'd be difficult enough
> > calculating what a module exposes by parsing its source (assuming
> > its source is written in Lua, of course!).
>
> Lua is very straightforward to parse. You could use a regular
> expression and find out pretty much all the static functions exported
> by a module. It doesn't have to be 100%, as long as it has the
> honesty to say 'I don't know' rather than inventing some definition ;)
I'm not so sure. Sure, you might find some, but it's pretty easy to
think of completely reasonable source code that it'd fail miserably on.
B.