About

GAPE is a Domain Specific Language, for the Google App Engine Java platform created with XText. The limited expressiveness provides a way to clearly define what-the-system-is and what-the-system-does.

Soruce Code

ToDo application .GAPE source code.

/*  ToDo Application */
module dom version 1.0 target appengine-jdo {
   object ToDo requires ToDoContract {
      property String description 
      property String category
      property Date dueBy
      property Boolean complete
      property String notes
      property Set dependencies
      virtual String title
      virtual List similarTo
      virtual List eligible
      method Boolean changeStatus(Boolean status)
         for Complete, Incomplete
      interaction Complete { }
      interaction Incomplete { }
   }
}