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 9 months ago
src Added parsing of floating point numbers 9 months ago
LICENSE Project structure created 9 months ago
README.md Project structure created 9 months ago
Setup.hs Project structure created 9 months ago
picolisp.cabal Now works as a simple calculator of s-exprs, with + - * / and numbers 9 months ago
stack.yaml Project structure created 9 months 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'

...