filbert
filbert copied to clipboard
JavaScript parser of Python
``` print(1) print(1, flush=True) ``` Try commenting the last line and it will work fine. Tested on https://raw.githack.com/differentmatt/filbert/master/test/interactive.html
I'm looking for a way to check node types, and the docs weren't clear if there were any built-in boolean type eval functions I'm looking for something like this: ```javascript...
Filbert is not versatile enough to handle multiply so-called self-operations, for example, '/=', '**=' and so on, which makes my application work weird. What I do is to add several...
The next statement works in CoCo: ``` ar = [] ar.push(1) ``` But python lists have `.append` method and don't have `.push` method.
`list.pop([index])` with index doesn't work correctly. It always `pop` the last element and ignores `index` argument. ``` array = [1, 2, 3] array.pop(0) hero.debug(array[0]) # got 1 ```
@differentmatt ty so much for your hard work on this project! I've been able to review in depth the internals of filbert, and what it accomplishes. I was hoping to...
When I do `list("string")` I get `[0, 1, 2, 3, 4, 5 , 6, score]`. Not sure that is "score" but I see it with `debug` or `say`.
a = 'ashdifaweflaskdjfpaoisd' for c in a: print(c) This loop doesn't work properly, seems to actually work like: for c in range(len(a)): It iterates over integers instead of the letters.