Skip to content

Instantly share code, notes, and snippets.

@nox
Created March 4, 2011 11:58
Show Gist options
  • Select an option

  • Save nox/854514 to your computer and use it in GitHub Desktop.

Select an option

Save nox/854514 to your computer and use it in GitHub Desktop.
%% ...
expr({code, Line, Es}) ->
expr(stage_exprs(Es));
expr({escape, _Line, _E} = Esc) ->
Esc.
%% ...
stage_expr({code, Line, E}) ->
stage_expr(expr(E));
stage_expr((escape, _Line, E}) ->
E.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment