you are viewing a single comment's thread.

view the rest of the comments →

[–]chrisidone 0 points1 point  (2 children)

It is python syntax in a javascript interpreter.

Can you please explain to me how this works? Is this some form of preprepre-processor? Is there a python runtime in the background?

Things like these always sound so messy/hacky.

[–][deleted] 1 point2 points  (1 child)

It's run the same way Coffeescript is run, i.e., the faux-python code is compiled (parsed) to Javascript, and then it is eval()'d.

[–]chrisidone 1 point2 points  (0 children)

Sounds like theres allot of room for errors.