Skip to content

Commit

Permalink
remove accidently redundant ebnf syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
deckarep committed Jan 14, 2024
1 parent eb61692 commit 0f8c121
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions pkg/prefixcomp/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@ import (
"strconv"

"github.com/deckarep/tips/pkg/slicecomp"
) /*
https://bnfplayground.pauliankline.com/
<primaryfilter> ::= <word> (<ws> <or> <ws> <word> <ws>)* <slice>?
<slice> ::= "[" <integer>? ":" <integer>? "]"
# <ws> is just a stand-in for testing on the site, the tokenizer will ignore whitespace completely.
<ws> ::= " "+ | E
<or> ::= "|"
<word> ::= ([a-z] | [A-Z])+
<integer> ::= [0-9]+
*/
)

/*
https://bnfplayground.pauliankline.com/
Expand Down

0 comments on commit 0f8c121

Please sign in to comment.