Commit Graph

3 Commits (b22ca76204e1a05e1c4b07d24cb6a0dbbc09d18e)

Author SHA1 Message Date
Yen Chi Hsuan ff29bf81f8 [jsinterp] Support alternative function definition form
Philipp Hagemeister 3eff81fbf7 [jsinterp] Disable comment support
We need a proper lexer to be able to understand YouTube's code, which contains /* inside of strings.
For now it's sufficient to just disable comment support altogether.

Fixes , fixes , fixes , fixes , fixes .
Closes .
Philipp Hagemeister 9e3f19919a [jsinterp] Beef up and add tests
In preparation for , extend jsinterp by a lot. (We may even have to/want to write a proper interpreter with actual parsing)