Fixed command parser
parent
12d6176f63
commit
1b951813f4
|
@ -8,6 +8,7 @@
|
||||||
"mdel",
|
"mdel",
|
||||||
"onefile",
|
"onefile",
|
||||||
"Packrat",
|
"Packrat",
|
||||||
|
"printables",
|
||||||
"pyparsing",
|
"pyparsing",
|
||||||
"rlimit",
|
"rlimit",
|
||||||
"runstatus",
|
"runstatus",
|
||||||
|
|
|
@ -56,7 +56,7 @@ class LambdaParser:
|
||||||
(self.lp + self.pp_history + self.rp)
|
(self.lp + self.pp_history + self.rp)
|
||||||
)
|
)
|
||||||
|
|
||||||
self.pp_command = pp.Suppress(":") + pp.Word(pp.alphas + "_") + pp.Word(pp.alphas + pp.nums + "_.")[0, ...]
|
self.pp_command = pp.Suppress(":") + pp.Word(pp.alphas + "_") + pp.Word(pp.printables)[0, ...]
|
||||||
|
|
||||||
|
|
||||||
self.pp_all = (
|
self.pp_all = (
|
||||||
|
|
|
@ -15,7 +15,7 @@ lamb = "lamb_engine:main"
|
||||||
[project]
|
[project]
|
||||||
name = "lamb_engine"
|
name = "lamb_engine"
|
||||||
description = "A lambda calculus engine"
|
description = "A lambda calculus engine"
|
||||||
version = "1.1.6"
|
version = "1.1.7"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"prompt-toolkit==3.0.31",
|
"prompt-toolkit==3.0.31",
|
||||||
"pyparsing==3.0.9"
|
"pyparsing==3.0.9"
|
||||||
|
|
Reference in New Issue