Skip to content

Lis is for lisp, lis2 is for lis reimplemented in Rust

Notifications You must be signed in to change notification settings

alexryndin/lis2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lis2

Grammar

integer     : /-?[0-9]+/ ;                                  \
decimal     : /-?[0-9]+\\.[0-9]+/ ;                         \
number      : <decimal> | <integer> ;                       \
symbol      : /[a-zA-Z0-9_+\\-*\\/\\\\=<>!&]+/ ;            \
qexpr       : '{' <expr>* '}' ;                             \
sexpr       : '(' <expr>* ')' ;                             \
expr        : <number> | <symbol> | <sexpr> | <qexpr> ;     \
program     : /^/ <expr>* /$/ ;                             \

About

Lis is for lisp, lis2 is for lis reimplemented in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages