Skip to content

Instantly share code, notes, and snippets.

@anhqle
Created February 28, 2018 03:48
Show Gist options
  • Save anhqle/8caa7b75844c4304fda4cee4863ccbf3 to your computer and use it in GitHub Desktop.
Save anhqle/8caa7b75844c4304fda4cee4863ccbf3 to your computer and use it in GitHub Desktop.

expr() -- creates an expression expr(y <- 1)

"Parsing" = convert string to AST parse_expr("y <- 1") parse_exprs("y <- 1; x <- 3")

"Deparsing" = convert AST to string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment