Skip to content

Instantly share code, notes, and snippets.

@captainbland
Created January 6, 2016 00:21
Show Gist options
  • Save captainbland/62ec96fb1880ab41b331 to your computer and use it in GitHub Desktop.
Save captainbland/62ec96fb1880ab41b331 to your computer and use it in GitHub Desktop.
Input string: int* add(int *a, int b);
int NAME
* PTR
SPACE
add NAME
( BRACKET_OPEN
int NAME
SPACE
* PTR
a NAME
, COMMA
SPACE
int NAME
SPACE
b NAME
) BRACKET_CLOSE
; SEMICOLON
NONE
Reconstructed string: int* add(int *a, int b);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment