Skip to content

ceciliazhou/pascal_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a parser for a subset of the Pascal programming language. See Grammar for details of supported grammer.

Usage

  1. compile the source files in ./src:

    g++ *.cpp -o pascal_parser

  2. run pascalCompiler with a pascal source file as input to see the output parse tree:

    pascal_parser source.pas

    An sample set of input and output is available under ./test.

About

A compiler parsing code in a language which is a subset of Turbo Pascal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors