Sunday, June 21, 2015

Gamefic: Reevaluating the DSL

This weekend I pushed a new repo branch that includes a major refactoring of the plot DSL. The syntax for plot scripts is largely unchanged, but the new code behind it uses a new module called the Stage. I based it on the Clean Room pattern described in Metaprogramming Ruby and further developed by Seth Vargo. Including the Stage module can make any class capable of loading code from a Ruby DSL. Read More


from Planet Interactive Fiction http://ift.tt/1JcGEjO
via IFTTT

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.