I didn't really know how to parse the title very well but, what I need help with is I was watching a tutorial on how to make a programming language in python. I wanted to make it in javascript. I got the lexer working but then came to the parser. In the tutorial they do this:
t = {token['value']: []}
I want to do that in javascript. But when I try to do that I can user the token['value'] part to as a 'label' so to say.
Thanks!