Go to file
Suguivy 8bc4aa8f71 Added parsing of floating point numbers 2021-03-01 12:06:07 +01:00
src Added parsing of floating point numbers 2021-03-01 12:06:07 +01:00
LICENSE Project structure created 2021-02-24 16:44:12 +01:00
README.md Project structure created 2021-02-24 16:44:12 +01:00
Setup.hs Project structure created 2021-02-24 16:44:12 +01:00
picolisp.cabal Now works as a simple calculator of s-exprs, with + - * / and numbers 2021-02-24 18:50:53 +01:00
stack.yaml Project structure created 2021-02-24 16:44:12 +01:00

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'

...