interpolation: support [] indices syntax (#4918)

Via pyparsing. The error message is not that great, as it's greedy.
But, it does point out where the mistakes are, correctly most of the
time. :)

Also raises appropriate error messages for ParseError
This commit is contained in:
Saugat Pachhai
2020-11-20 14:31:16 +05:45
committed by GitHub
parent 4b7d130003
commit cb3e52829b
2 changed files with 55 additions and 3 deletions
+1
View File
@@ -83,6 +83,7 @@ install_requires = [
"rich>=3.0.5",
"dictdiffer>=0.8.1",
"python-benedict>=0.21.1",
"pyparsing==2.4.7",
]