This is a parser for LED (https://github.com/qianji/LEDParser) that takes a LED program and returns an abstract syntax tree.