forth.py ���̳U P3CͳU # -*- coding: utf-8 -*- import re class forth(): Stack = [] FunctionList = {} VariableList = {} ParsedCode = [] def __init__(self, text): pc = self.perse(text) #空文字列を取り除く for x in pc: if x != '': self.ParsedCode.append(x) pass def __del__(self): pass def perse(self, text): ret = "" for x in text.split("\n"): t = x.split("#") ret += t[0] + " " return re.split("\s+", ret) def ex