Skip to content

A simple parser for a Haskell-like language written in Haskell.

License

Notifications You must be signed in to change notification settings

Fr3ddy404/Simple-Parser-in-Haskell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Parser in Haskell

A simple parser for a Haskell-like language written in Haskell.

Table of Contents

  1. Installation
  2. Usage
  3. License

Installation

Using Nix-Shell (Optional)

  1. Follow the Nix installation instructions to set up nix.

  2. Enter the nix shell from the shell.nix.

nix-shell
  1. Build the project using ghc or run it with runhaskell.

Using ghc

ghc Main.hs
./Main

Using runhaskell

runhaskell Main.hs

Usage

You can modify the test/Main.2hs file and run the project to generate the abstract syntax tree of the file contents.

Note

Not all features of Haskell are supported.

License

This project is licensed under the MIT License. Feel free to modify and use it as you wish!

About

A simple parser for a Haskell-like language written in Haskell.

Resources

License

Stars

Watchers

Forks