silentbicycle/tamale
View on GitHub ↗ ★ 149 Lua
TAble MAtching Lua Extension - An Erlang-style pattern-matching library for Lua
11 mentions on Hacker News by 2 people: 1 story, 10 comments · first 2010-07-22 · latest 2017-03-22
20082026
-
…not really in the same code. I figured this out working on a library for pattern matching in Lua ( https://github.com/silentbicycle/tamale ); Lua is less pervasively object-oriented, and uses literal "tables" (basically, JSON) quite a bit,…
comment by silentbicycle · 2012-05-10 -
…and its integration with C is hard to beat. I wrote a library for pattern-matching in Lua, btw ( http://github.com/silentbicycle/tamale ). May be of interest.
comment by silentbicycle · 2011-05-28 · in Functional languages will rule (but not this year) -
FWIW, I wrote a pattern-matching library for Lua, Tamale ( http://github.com/silentbicycle/tamale/ ). It was an interesting project, because almost everything I could find about implementing pattern-matching assumed the patterns could be…
comment by silentbicycle · 2011-03-15 · in Functional Thinking after OO -
…, an xUnit-like + randomized (QuickCheck-ish) testing library) and Tamale ( http://github.com/silentbicycle/tamale , Erlang-style pattern-matching for Lua).
comment by silentbicycle · 2010-11-17 · in In praise of Go or "Why I moved from Python and C++ to Go" -
…userdata. Lua replaced Python for me - it's a great language on its own. TCO and pattern matching ( http://github.com/silentbicycle/tamale ) go a long way.
comment by silentbicycle · 2010-11-14 · in Tenacious C: Cool C IDE -
…language for quick hacks, period. I wrote a library to add fairly idiomatic pattern matching ( http://github.com/silentbicycle/tamale/ ). Every language needs pattern matching. :) I'm still working on explaining PM to people who aren't…
comment by silentbicycle · 2010-11-08 · in First public release of the Gosu programming language for the JVM -
Yes, and thanks. :) Have you seen my library ( http://github.com/silentbicycle/tamale ) for doing Erlang-style pattern matching in Lua, BTW? I still need to document it (I'm working on briefly explaining why pattern matching matters to…
comment by silentbicycle · 2010-10-17 · in BBS, Lua, Coroutines, Mongrel2: Part 1 -
…). It's no CPAN, but the essentials are there. I'm working on a couple, such as Tamale ( http://github.com/silentbicycle/tamale/ ), which adds Erlang-style pattern matching. I'll post it on LuaRocks once the docs are done. Of course, if…
comment by silentbicycle · 2010-10-13 · in Node.js Versus LUA "Hello World" HTTP Server Showdown -
…code in terms of pattern-matching. (I wrote an Erlang-style pattern matching library for Lua, btw: http://github.com/silentbicycle/tamale/ ) I write a lot of little awk scripts, but if they grow past ~5 lines, they usually get rewritten in…
comment by silentbicycle · 2010-09-29 · in Why you should learn at least a little bit of Awk -
…matching is still great, though. FWIW, I'm working on a pattern-matching library for Lua. (tamale: http://github.com/silentbicycle/tamale ) It uses linear search and backtracking rather than compiled decision trees at the moment, though I…
comment by silentbicycle · 2010-07-22 · in Lisper's first look at Haskell