prior-art-archive / uspto-query-parser

An npm package to parse a USPTO query into a structured object
MIT License
1 stars 0 forks source link

Initial Nearley Grammar #6

Closed slifty closed 4 years ago

slifty commented 4 years ago

This creates an initial nearley grammar definition with associated tests. This grammar is able to detect valid querystrings containing the following features:

The result of the parse is not yet packaged into a structured object, and there are also a few features of the specification (e.g. ~, ^, dates, $, $n, line numbers, ONEAR) which are not yet built into the grammar.

Related to #3