Skip to content

cptaffe/infix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infix

Simple interpreter for infix syntax.

Uses a concurrent lexer/parser to create a binary tree from infix statements and then evaluate them recursively.

$ clang++ -g main.cc -std=c++11
$ ./a.out
8 * 8
prefix: * 8 8
postfix: 8 8 *
infix: (8 * 8)
=> 64

About

Simple interpreter for infix syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published