parrotcode: Lua Table | |
Contents | Language Implementations | Lua |
type/table.pir - Lua Table
table
extends base_lua
to provide a class with the behaviour of the Lua table
type.
TRIVIAL IMPLEMENTATION : table
is just a Parrot Hash
,
like in Lua 4.0.
Now,
Lua 5.0 uses a hybrid data structure with a Hash part and an Array part.
is_equal (value)
==
operation.
Compares reference (not in depth).Francois Perrad.
|