Skip to content

jyoo980/yarp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Racket Parser

This is a very basic implementation of a parser/interpreter in Racket for Racket. Multiple components will be changed as more additions to the basic grammar are made.

Grammar

Below is the grammar that has been implemented in the parser so far

<Expr> ::= <num>
	|  <bool>
	|  <id>
	| '(' '+' <Expr> <Expr> ')'
	| '(' '-' <Expr> <Expr> ')'
	| '(' '*' <Expr> <Expr> ')'
	| '(' 'let' '[' <id> <Expr> ']' <Expr> ')' 
	| '(' <id> <Expr> ')'
	| '(' 'define' '(' <id> <id> ')' <Expr> ')'

Releases

No releases published

Packages

No packages published

Languages