Idea: Is it feasible to extend the current parser definition API by this: (?)
class PirateshipParser
include Saxophone
element :flag_color
elements :cannon, class: CannonParser
element :captain do
element :name
elements :children do
element :age
end
end
end
It was just a quick idea today and I haven't done some previous research if it fits to the overall design, but I'd like that.