4 ms·
Wow, this is excellent! I love the fact that it is just in 5K lines. I have a few questions! 1. What were your motivations for building this? 2. Did you eval
by avinassh 4y ago
Wow, this is excellent! I love the fact that it is just in 5K lines. I have a few questions!
1. What were your motivations for building this?
2. Did you eval any similar projects before writing this one?
3. Can this be compiled to WASM and used in the browser? edit: I see that it already supports WASM!
4. I didn't see this on the README, but does it support IO (either disk or network)?
5. I noticed you linked to byterun. Does this also implement a VM similar to Python? Can I run the bytecode produced from CPython in the pocketpy VM? If so, are there any reasons for that? I thought writing an independent implementation would be faster/easier than a compatible one.
6. Any plans on adding type annotations?