Glimmer: DSL Framework for Ruby GUI and More

github.com

169 points by thunderbong 3 days ago


davidsojevic - 3 days ago

In case anyone is like me and wanted to see some more usage examples, the author of Glimmer seems to have a few games he's put together using the gem:

https://github.com/AndyObtiva/glimmer_klondike_solitaire

https://github.com/AndyObtiva/glimmer_wordle

https://github.com/AndyObtiva/glimmer_tetris

https://github.com/AndyObtiva/glimmer_snake

https://github.com/AndyObtiva/glimmer_hangman

https://github.com/AndyObtiva/glimmer_metronome

weatherlight - 3 days ago

That's one hell of a introduction

    Glimmer started out as a GUI Library and grew into a full-fledged DSL         
    Framework with support for multiple GUI DSLs. Glimmer's namesake is         
    referring to the Glimmer of Ruby in Graphical User Interfaces (contrary to             
    popular myth perpetrated by Charles Nutter, Glimmer has nothing to do with             
    the ill-fated Whitney Houston movie, which does not in fact share the same             
    name)
desireco42 - 3 days ago

Congrats Andy for consistently shipping! He has been working on this and perfecting it for years.

msie - 3 days ago

This is great! Just yesterday I was looking at wxruby3 but I didn’t see a way to package/distribute apps. This does solve that problem.

jonkoops - 3 days ago

Note there is already UI component framework called Glimmer that is used by Ember.js: https://glimmerjs.com/. It's pretty much upstreamed into Ember itself these days, but the devs also have a big Rails background so I found the coincidence funny.

artemonster - 3 days ago

How debuggable is this (besides sifting through wall of debug log text)? Can you step through your declarative GUI building process inside DSL or its like this: "DSL text goes into magic magic...POOF! here is the result. hopefully nothing went wrong or glhf"

flippyhead - 3 days ago

And only 21,000+ commits. Nice!

jimbokun - 3 days ago

From that little demo looks like a lot of fun to develop.

- 3 days ago
[deleted]
Alifatisk - 3 days ago

Looks really fun, I have to try it

sandropuppo - 3 days ago

Nice work!