chenhsi / Ambroscum

An interpreter/compiler for a programming language we're probably going to create
MIT License
0 stars 0 forks source link

Tokenizer error #16

Closed edgao closed 10 years ago

edgao commented 10 years ago

Something wrong with Tokenizer. Try executing this line:

x = {"key": 5}

Tokenizer wants whitespace after the quotes, but putting a space afterward says that there's unexpected whitespace.

That said, this works fine:

x = ["value"]
edgao commented 10 years ago

Another problem, again involving dictionaries:

x = {[1, 2, 3]: 5}