jhb563 / OneWeekApps

9 stars 1 forks source link

Write DSL and Haskell data object (Controllers) #166

Closed jhb563 closed 7 years ago

jhb563 commented 7 years ago

Create owa-parse/test/Parse/Tests/Controllers and make some ParseFiles representing the input we're expecting to receive for controller in our application.

Create a Haskell data structure to represent controllers, and then create a module with a dummy function to parse an input file into this structure. Write the expected output in terms of the Haskell object s, then write tests going from the input files to these objects. Do not hook these tests in.