This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
bvh_file = "Example1.bvh" | |
def identifier(scanner, token): return "IDENT", token | |
def operator(scanner, token): return "OPERATOR", token | |
def digit(scanner, token): return "DIGIT", token | |
def open_brace(scanner, token): return "OPEN_BRACE", token | |
def close_brace(scanner, token): return "CLOSE_BRACE", token |