Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 70 lines (70 sloc) 0.643 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
INT
ID: gcd
LEFT_PAREN
INT
ID: u
COMMA
INT
ID: v
RIGHT_PAREN
LEFT_CURLY
IF
LEFT_PAREN
ID: v
EQUAL
NUM: 0
RIGHT_PAREN
RETURN
ID: u
SEMICOLON
ELSE
RETURN
ID: gcd
LEFT_PAREN
ID: v
COMMA
ID: u
MINUS
ID: u
DIVIDE
ID: v
MULTIPLY
ID: v
RIGHT_PAREN
SEMICOLON
RIGHT_CURLY
VOID
ID: main
LEFT_PAREN
VOID
RIGHT_PAREN
LEFT_CURLY
INT
ID: x
SEMICOLON
INT
ID: y
SEMICOLON
ID: x
ASSIGN
ID: input
LEFT_PAREN
RIGHT_PAREN
SEMICOLON
ID: y
ASSIGN
ID: input
LEFT_PAREN
RIGHT_PAREN
SEMICOLON
ID: output
LEFT_PAREN
ID: gcd
LEFT_PAREN
ID: x
COMMA
ID: y
RIGHT_PAREN
RIGHT_PAREN
SEMICOLON
RIGHT_CURLY
Something went wrong with that request. Please try again.