The goal of this fsharp kata is to build a small document renderer
- FsharpDiyBrowser: contains the domain
- FsharpDiyBrowser.Winform: transformation layer to render documents in a Winform canvas
- FsharpDiyBrowser.HtmlInput: transsform HTML to domain models
- LiveCoding folder: contains all live code scripts.
This kata could be so long to do entierly. So we need a very fast feedback to check our drawings logic.
Each time we change a file, then we have an immediate feedback.
I love this kind of technics, but in real production projects, we must do unit tests!
cd src
.\build.cmd
- Discover and extend the domain.
- Implement new rendering features. (look at comments in the script)
cd src
.\build.cmd LiveCode file="src/LiveCoding/Test1.fsx"
- render the body with correct children positions
- parse percents, etc ...
- try to implement images and hyper links
cd src
.\build.cmd LiveCode file="src/LiveCoding/Test2.fsx"