Guest User

Untitled

a guest
Feb 20th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $ python main.py
  2. input = (4+3)*7+9
  3. AST = [['add', ['mul', ['add', ['id', '4'], ['id', '3']], ['id', '7']], ['id', '9']]]
  4. eval = 58
  5.  
  6. input = (4+3)*a
  7. (4+3)*a
  8. ^
  9. Expected end of text (at char 5), (line:1, col:6)
Add Comment
Please, Sign In to add comment