rosy
rosy copied to clipboard
Question
Is this no longer being worked on?
I've looked into Rutie but it's very confusing, this looks simpler, so if this is still being worked on, how can I build a DSL with things like ruby blocks and such that call out to rust methods? I really don't want to have to resort to using Lisp or Lua for DSL building.
What I want is to build something that can be used like this:
entity_group 'basics' do
type :items
components :pos, :loc
entity 'sword' do
component :renderable do
glyph 'i'
bgColour Colours::White
fgColour Colours::Black
end
end
entity 'potion' do
component :renderable do
glyph 'u'
bgColour Colours::LightBlue
fgColour Colours::Black
end
end
end
entity 'goblin' do
type :mob
components :pos, :loc
component :renderable do
glyph 'g'
bgColour Colours::LightGreen
fgColour Colours::Black
end
end
entity 'Orc' do
type :mob
components :pos, :loc
component :renderable do
glyph 'O'
bgColour Colours::DarkGreen
fgColour Colours::Black
end
end