Olical / aniseed

Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
https://discord.gg/wXAMr8F
The Unlicense
606 stars 28 forks source link

Destructuring support in module macro #76

Closed bangedorrunt closed 2 years ago

bangedorrunt commented 2 years ago

I'm wondering if it's possible to have sth like

(module xyz
    {autoload {{: foo} baz}})
Olical commented 2 years ago

I like the idea! I'll have a look into how tricky it'd be with my current approach.

Olical commented 2 years ago

Implemented! It was a two line change, it used to need a LOT more work but then I rewrote all of the module macro system things which made it easy and I didn't realise. I think everything is working fine and it just works?

Olical commented 2 years ago

Well, everything seems fine in Aniseed but I'm seeing errors when compiling Conjure with this... so maybe not perfect yet!

Olical commented 2 years ago

Fixed!