0.0.1 • Published 5 years ago

@ggye/search-parser v0.0.1

Weekly downloads
2
License
-
Repository
-
Last release
5 years ago

build status

search-parser

Summary

A simple parser which takes patterns as parameter and produce predicates. It is designed as a back-end for a search query.

This is a toy project and I'm not a Typescript nor Javascript developer, so I highly recommand to not use this code for production purpose.

Grammar

Todo: formal grammar

Examples:

Ubuntu && LTS

"Xenial Xerus" || "Bionic Beaver"

Debian || (Ubuntu && LTS)

Linux && !Gentoo

Examples

Todo