differentmatt / filbert

JavaScript parser of Python
Other
133 stars 27 forks source link

Comparison operations for complex types #35

Open differentmatt opened 10 years ago

differentmatt commented 10 years ago

https://docs.python.org/3.4/reference/expressions.html#not-in

List, tuple, and dictionary equality would be great first steps.

# These are True in Python, false in JavaScript
[1, 2] == [1, 2] 
{'a': 10, 'b':'hi'} == {'b':'hi', 'a':10}