lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Tony Finch <dot@dotat.at> writes:

> On Tue, 25 Jan 2011, David Kastrup wrote:
>> Tony Finch <dot@dotat.at> writes:
>> > On Mon, 24 Jan 2011, Patrick Mc(avery wrote:
>> >>
>> >> There are languages such as Forth, Factor and Joy to borrow
>> >> idioms from. Do
>> >> you think these idioms might be useful to learn when using the C API?
>> >
>> > I'm dubious because Lua's stack allows random access whereas forth-alikes
>> > do not.
>>
>> What would you call PICK and ROLL then?
>
> Random access in Lua means that you mostly don't need those operators.

In sexist circles this argument would be classified as female logic.
Given the location and circumstances, I am reduced to calling it
interesting.

-- 
David Kastrup