Heshan PadmasiriType state pattern in BallerinaThe type state pattern is an API design pattern that aims to encode runtime states in the compile time type. I came across this idea in the…Oct 30, 2022Oct 30, 2022
Heshan PadmasiriRegular expressions as set-theoretic types in BallerinaGiven their widespread use, I shall assume readers are already familiar with regular expressions (basic knowledge of regular expression…Oct 2, 2022Oct 2, 2022
Heshan PadmasiriCreating a GDB pretty printer from scratchYou can use a custom GDBMay 29, 2022May 29, 2022
Heshan PadmasiriGetting Ballerina LSP support on vim (using coc)For those who don’t know what ballerina or LSP is, the short story is ballerina is an open-source programming language and LSP (Language…Oct 28, 2021Oct 28, 2021