[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Checking Syntax....
- From: erik@... (Erik Hougaard)
- Date: Sat, 29 Jul 2000 12:35:14 +0200
Yeah its quite easy .. if its pure syntax checking you want ... Just see if
you can compile the code with the code from lua.c (all the dump.c opcode.c
stuff) ... It may need some error catching... but I'm doing it in uCore
quite effictive ... So my users can just call the compile function on a
piece of code and that will check the syntax (in uCore the binary result is
at the same time inserted into the repository for later executing)...
----- Original Message -----
From: "Terry Bayne" <email@example.com>
To: "Multiple recipients of list" <firstname.lastname@example.org>
Sent: Friday, July 28, 2000 10:27 PM
Subject: Checking Syntax....
> Is there a way to check the syntax of or validate a
> lua script programmatically, without actually running it?
> Terry Bayne