lamda, the DSL

  • From: William Adams <william_a_adams@xxxxxxxxxxx>
  • To: "luajit@xxxxxxxxxxxxx" <luajit@xxxxxxxxxxxxx>
  • Date: Wed, 13 Apr 2016 00:01:07 +0000

The other lambda threads were moving along so fast, I didn't want to jump in 
and disturb the flow.

My first thought was "boy, it should be easy to make DSLs with Lua"

Then I recently stumbled across ebblang.org, and the Delite project.  These are 
what I think are
perfect examples of purpose built DSLs that are useful for their intended 
audiences.

Rather than focusing on trying to imbue Lua with this or that particular 
feature, it seems like
it would be much more beneficial to create tools and frameworks for rapidly 
creating DSLs with
Lua at their core.

On the other hand, one of the key differentiators that was stuck into the C# 
language more than
a decade ago was lambdas (thanks Erik and Anders).  That unlocked all sorts of 
mayhem/goodness.
That and anonymous types.

I love using luafun in all my programs where it makes sense.  I don't want 
LuaJIT to look like Haskell.
I think the cognitive load is too high for the average lua programmer like me.

-- William

=============================== 
- Shaping clay is easier than digging it out of the ground.                     
                  

Other related posts: