Sha256: 438b0902455d6dd7c68a1b58cd0faa6a5180b139bf0ce1e38893b5819e31f6cd
Contents?: true
Size: 248 Bytes
Versions: 8
Compression:
Stored size: 248 Bytes
Contents
# lex_error1.py # # Missing t_error() rule import sys if ".." not in sys.path: sys.path.insert(0,"..") import ply.lex as lex tokens = [ "PLUS", "MINUS", "NUMBER", ] t_PLUS = r'\+' t_MINUS = r'-' t_NUMBER = r'\d+' lex.lex()
Version data entries
8 entries across 8 versions & 1 rubygems