Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plisp

In an attempt to learn GNU Flex and Yacc/Bison, I decided to implement a simple calculator which uses Lisp style prefix notation. Hopefully this will lay the groundwork for my first attempt at writing a basic Lisp/Scheme interpreter.

Status

The interpreter is currently capable of evaluating very simple arithmetic expressions (e.g. addition and subtraction).

Build/run

  • clone repository
  • ensure gcc, flex and yacc/bison have been installed
  • cd into repository and run make
  • start the interpreter using ./plisp
  • (+ 2 2) => 4
  • (- 20 2) => 18

Resources

About

Experimental Flex/Bison Interpreter

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages