You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Suguivy 8bc4aa8f71 Added parsing of floating point numbers 3 years ago
src Added parsing of floating point numbers 3 years ago
LICENSE Project structure created 3 years ago
README.md Project structure created 3 years ago
Setup.hs Project structure created 3 years ago
picolisp.cabal Now works as a simple calculator of s-exprs, with + - * / and numbers 3 years ago
stack.yaml Project structure created 3 years ago

README.md

picolisp

A very simple lisp to learn about interpreters, Lisp and its possibilities.

The BNF grammar will be:

SExpr = AtomicSym | '(' SExpr '.' SExpr ')' | List
List  = '(' SExpr* ')'
AtomicSym = Letter AtomPart
Letter = 'a' | 'b' | ... | 'z'
Number = Digit*
Digit = '0' | '1' | ... | '9'

...