[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: new project added
- From: Mike Spencer <mike@...>
- Date: Wed, 28 May 2003 18:12:40 +0100
errr thanks! only $795.00!
the best i have found for parsing real numbers is this:
digit [0-9]
integer {digit}+
exponant [eE][+-]?{integer}
real {integer}("."{integer})?{exponant}?
but i still don't know how to use it with strfind()
Learning Lua is turning into a bit of a nightmarge,
i spend all day searching the internet and come back empty handed every time
luabook1.pdf is a lot better than the official docs,
but there are still things i need to know to get me up and running...
is there any way to make a Lua variable reference another variable?
e.g.
a = 0;
b = 0;
t = { a, b } <- what i really mean to do is pass the address of the var
and not the value!
t[0] = 10
t[1] = 20
print( a, b )
i would like the output to be: 10 20
-----Original Message-----
From: Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br]
Sent: 28 May 2003 16:27
To: lua@bazar2.conectiva.com.br
Subject: new project added
Meta-S - a parser generator
http://www.lua.org/uses.html#100