File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1414from .parsing import LambdaTransformer
1515from .aliases import Aliases
1616
17- __version__ = "1.0 .0"
17+ __version__ = "1.1 .0"
1818__author__ = "Eric Niklas Wolf"
1919__email__ = "eric_niklas.wolf@mailbox.tu-dresden.de"
2020__all__ = (
Original file line number Diff line number Diff line change 2626 "-f" ,
2727 "--file" ,
2828 type = FileType ("r" ),
29- help = "file which should be executed in the REPL"
29+ action = "append" ,
30+ help = "add file which should be executed in the REPL"
3031)
3132
3233
@@ -37,8 +38,8 @@ def main(args: Namespace) -> int:
3738 LambdaTransformer (),
3839 BetaNormalisingVisitor ()
3940 )
40- if args .file is not None :
41- for line in args . file :
41+ for file in args .file or () :
42+ for line in file :
4243 repl .cmdqueue .append (line )
4344 repl .cmdloop ()
4445 return 0
Original file line number Diff line number Diff line change 11[project ]
22name = " lambda_repl"
3- version = " 1.0 .0"
3+ version = " 1.1 .0"
44description = " REPL for the lambda calculus"
55requires-python = " >=3.10"
66keywords = []
You can’t perform that action at this time.
0 commit comments