Skip to content

coderick14/TheSuperTinyParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

Built with love Made with C++

The Super Tiny Parser

Inspired by The Super Tiny Compiler.

A tiny recursive-descent parser which uses syntax-directed translation to convert arithmetic infix expressions (+,-,*,/) into postfix notation, with friendly error messages.


Please refer to the comments in parser.hpp for further understanding.

Prerequisites

  • g++

Installation

git clone https://github.com/coderick14/TheSuperTinyParser.git
cd TheSuperTinyParser
g++ -std=c++14 parser.hpp main.cpp -o parser
./parser