python 一遍式四则运算
摘要:
#!/usr/bin/python #coding: utf-8 INTEGER = 'INTEGER' PLUS = '+' MINUS = '-' MUL = '*' DIV = '/' LC = '(' RC = ')' EOF = 'EOF' class Token(object): def __init__(self, ... 阅读全文
posted @ 2017-01-15 11:49 空老吹 阅读(199) 评论(0) 推荐(0) 编辑