differentmatt / filbert

JavaScript parser of Python
Other
133 stars 27 forks source link

Tuples can't be used as keys in dict literals #64

Open dzhang314 opened 9 years ago

dzhang314 commented 9 years ago
{(0, 1): 'y step', (1, 0): 'x step', (0, 0): 'origin'}

This is a perfectly valid dict literal but throws SyntaxError: Unexpected token in Filbert.