|
Based on Petite Abeille's module usage style.
Hi,
26-02-2014 09:29 tarihinde, Journeyer J. Joh yazdı:I've done some work for Template Pattern, maybe it gives you some idea..
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.
http://lua-users.org/wiki/TemplatePattern
[snip]
Sincerely
Journeyer
[snip]
Regards,
Hakki Dogusan