Skip to content

Instantly share code, notes, and snippets.

@starakaj
Created July 8, 2021 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save starakaj/08eaf5f21354569b641bef121fd67572 to your computer and use it in GitHub Desktop.
Save starakaj/08eaf5f21354569b641bef121fd67572 to your computer and use it in GitHub Desktop.
parser.parseComplete(data);
const paintFunction = ([] as t.Statement[]).concat(
makePaintFunction({
statements: paintStatements,
styleFunctions: styleFunctions
})
);
const programAST = t.program(paintFunction);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment