lua-users home
lua-l archive

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


Hi,

26-02-2014 09:29 tarihinde, Journeyer J. Joh yazdı:
Hi Steve Donovan and people interested in this talk,

I implemented Strategy Pattern using of YACI[1]

https://github.com/Journeyer/yaci.lua/tree/hfdplua/hfdplua

I forked original YACI from github and created a branch - hfdplua.

In this branch, I will implement GoF's patterns and I will make a test suit
for YACI using of these patterns implementations.

After I finished making a test suite I will submit the pull request to the
host of YACI.

You said virtual function is not supported by lua. But YACI supports it
though it would be too much complicated and never simple.

Without virtual function feature, I believe almost no GoF patterns could be
implemented.


I've done some work for Template Pattern, maybe it gives you some idea..

http://lua-users.org/wiki/TemplatePattern


[snip]

Sincerely
Journeyer


[snip]


Regards,
Hakki Dogusan