[jsinterp] Improve parsing
authordirkf <fieldhouse@gmx.net>
Thu, 2 Feb 2023 14:28:32 +0000 (14:28 +0000)
committerdirkf <fieldhouse@gmx.net>
Thu, 2 Feb 2023 16:31:49 +0000 (16:31 +0000)
commit295736c9cba714fb5de7d1c3dd31d86e50091cf8
treedae76550fa3b47badbd657e218be1f7198dc1edb
parent14ef89a8dab4f6ba6185d6f5bf0317a705d7b842
[jsinterp] Improve parsing
* support subset `... else if ...`
* support `while`
* add `RegExp` class
* generalise `new` support
* limited more debug strings
* matching test changes
test/test_jsinterp.py
youtube_dl/jsinterp.py