quernd / tea-chess

A chess-themed tutorial on writing an SPA in Bucklescript-TEA

Home Page:https://quernd.github.io/tutorials/tea-chess

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I recently started frontend web development in OCaml by using Bucklescript to compile my code into Javascript. Naturally, a functional language like OCaml goes well together with the famous Elm architecture, so I chose to explore the recent Bucklescript-TEA library. (TEA stands for “The Elm Architecture”, obviously.)

OCaml and Bucklescript have recently gained a lot of attention, not least because of Facebook’s Reason – an alternative, more Javascript-like syntax for OCaml. I prefer the traditional OCaml syntax, but you can use either syntax together with Bucklescript.

In this tutorial, I will walk you through an entire example of a single-page application. It will certainly help if you have a little experience with chess, web development and in particular functional programming in general or OCaml in particular, but it is no prerequisite, you can pick up everything you need on the way.

About

A chess-themed tutorial on writing an SPA in Bucklescript-TEA

https://quernd.github.io/tutorials/tea-chess


Languages

Language:OCaml 89.3%Language:CSS 9.2%Language:HTML 1.2%Language:JavaScript 0.3%