Parsing F# with Petit Parser

The goal of this project is to implement F# grammar in Petit Parser. F# is an indentation sensitive language. It means that the spaces and tabulators matters and might change syntax of a program. Petit Parser is a Parsing Expression Grammar based framework which was recently extended with support for indentation sensitive languages.

In this work a student:

The project is currently assigned as a bachelors project.

Contact: Jan Kurš or Milan Kubicek

Slides

Project introduction

Project results

Code

PetitParser F# grammar and parser on SmallTalk Hub

F# code to get the untyped AST nodes textually encoded from the F# open edition compiler on GitHub