References

Folding Domain-Specific Languages: Deep and Shallow Embeddings https://www.cs.ox.ac.uk/jeremy.gibbons/publications/embedding.pdf

Parser Combinators in Scala https://lirias.kuleuven.be/retrieve/13262