summaryrefslogtreecommitdiff
path: root/debian/apt.install
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-08-14 14:38:26 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-08-15 13:50:03 +0200
commit690ff4c3e44e7063ebde2557b7c0087ab720b894 (patch)
tree645cba5e6113b75bbd099f0517c97dac26e4eacb /debian/apt.install
parent7c724251fd8c24e89dc8cb813eee20aa0a4ad793 (diff)
Add initial support for parsing patterns into parse trees
Introduce a parser for patterns that generates a parse tree. The language understood by the parser is: pattern = '?'TERM | '?'TERM '(' pattern (',' pattern)* ','? ')' | WORD | QUOTED-WORD TERM = [0-9a-zA-Z-] WORD = [0-9a-ZA-Z-.*^$\[\]_\\] QUOTED_WORD = "..." # you know what I mean This language is context free, which is a massive simplification from aptitude's language, where ?foo(bar) could have two different meanings depending on whether ?foo takes an argument or not.
Diffstat (limited to 'debian/apt.install')
0 files changed, 0 insertions, 0 deletions