arith worms

This commit is contained in:
Christoph J. Scherr 2023-12-17 18:52:30 +01:00
parent d0e98e54ce
commit 1f6c6614a4
1 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,7 @@ def t_NUMBER(t):
def t_EXP(t):
r'\*\*'
pass
return t
lexer = ply.lex.lex()
@ -76,5 +76,3 @@ parser = ply.yacc.yacc()
while True:
s = input('calc> ')
ply.yacc.parse(s)
if s == '':
break