Skip to content

VincentToups/patty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Patty

Patty is a tiny pattern matcher for picolisp. It is not extensible.

It supports the following patterns:

literals, list, ?, call, and, or

To match the tail of a list, use a dotted list pattern, eg:

(patty (list 1 2 3 4)
       ((list X Y . Z) Z))

Evaluates to (3 4). Patty tries to accomodate picolisp's interpreted idioms, but since I spend most of my time in compiled, lexically scoped Lisps it may contain unusual code. Let me know if you find any!

About

Patty is a small ML-style pattern matcher for picolisp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published