|
|
SharkD <mik### [at] gmailcom> wrote:
> clipka wrote:
> > As a matter of fact, if Lua was a good deal closer to C, I might already be
> > jumping up shouting "that's our language!"
> Well, there's good news:
> "Lua is implemented as a library, written in C. Being an extension
> language, Lua has no notion of a ``main'' program: it only works
> embedded in a host client, called the embedding program. This host
> program can invoke functions to execute a piece of code in Lua, can
> write and read Lua variables, and can register C functions to be called
> by Lua code. Through the use of C functions, Lua can be augmented to
> cope with a wide range of different domains, thus creating customized
> programming languages sharing a syntactical framework."
> The compiled bytecode is also indistinguishable from C.
I don't think you understood him. I believe he meant "if Lua was a good
deal closer to C *in syntax*".
--
- Warp
Post a reply to this message
|
|