Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2010 (7)
20082026
  1. ▲ 65
    Tamale: An Erlang-Style Pattern-Matching Library for Lua
    story by networked · 2017-03-22 · 7 comments
  2. …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
  3. …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)
  4. 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
  5. …, an xUnit-like + randomized (QuickCheck-ish) testing library) and Tamale ( http://github.com/silentbicycle/tamale , Erlang-style pattern-matching for Lua).
  6. …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
  7. …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…
  8. 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
  9. …). 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…
  10. …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
  11. …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