Skip to content

boberj/set-expression-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

set-expression-parser

PEG parser that parses set expressions. It recognizes the set operations union (|), intersection (&) and difference (-).

Example

Given the sets

fruits = [apple, orange, strawberry]
sweets = [chocolate, liquorice]
deliciousness = [strawberry, chocolate, whipped cream]

and the expression (fruits | sweets) & deliciousness the resulting set is [strawberry, chocolate].

About

PEG parser that parses set expressions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages