Please log in to watch this conference skillscast.
Tim has recently started playing Minecraft™ with his kids but quickly found himself wanting to generate larger structures using code.
He tried Microsoft's Logo-like Steve-bot and whilst it was very easy to use, like any imperative approach, composition was difficult to achieve. However, using Haskell, functions, Monoids and a prudent use of lenses, a remarkably simple domain-specific language (DSL) can be built that achieves composition. With composition, it is possible to generate some very complex structures and Tim started with castles! This talk will briefly describe the DSL and generate some structures in-game with a live demo.
YOU MAY ALSO LIKE:
- Building a Program from Streams (SkillsCast recorded in October 2018)
- The Secrets of the GHC Garbage Collector (in Online Event on 11th June 2020)
- Lightning Talk: Making and Testing Code Generators in Haskell (SkillsCast recorded in October 2019)
- Functional Lenses Through a Practical Lens (SkillsCast recorded in October 2019)
Lightning Talk: Generating Castles for Minecraft™ using Haskell
Tim Williams has worked as a software developer in the finance industry for over 15 years. He has been using Haskell professionally for over 7 years, building contract languages at Barclays and trading systems at Standard Chartered. He holds a PhD in Physics from the University of Bristol.