kirancodes.me
To Proof Maintenance & Beyond!

294 papers · page 14 of 15

BNF converter

Markus Forsberg, Aarne Ranta

We will demonstrate BNFC (the BNF Converter) [7, 6], a multi-lingual compiler tool. BNFC takes as its input a grammar written in LBNF (Labelled BNF) notation, and generates a compiler front-end (an abstract syntax, a lexer, and a parser). Furthermore, it generates a case skeleton…

Haskell and principal types

Karl-Filip Faxén

This paper points out two problems which prevent Haskell from having principal types. For each problem, we discuss a program which exhibits it. The first problem has to do with type signatures and class constraints containing both generic and nongeneric type variables. The second…