4 ms·
So is this a clean reimplementation? Given how small this is it probably is. Which means this is not Python but a language that is syntax-compatible ("Python-l
by vkazanov 4y ago
So is this a clean reimplementation? Given how small this is it probably is.
Which means this is not Python but a language that is syntax-compatible ("Python-like"). To prove compatibility something like a (very) extensive set of compatibility tests would have to be written and mentioned in the README. Otherwise it's a minefield of subtle semantic differences.
- tyingq 4y agoI don't know if they plan to expand it, but it's a pretty small subset of python now. No bytes or bytearray types, for example. Only string escapes like "\t" are supported, so "\0" raises an error. Trying somestring[1:2:3] raises an error. It's missing list.reverse(), list.sort(), list(some_dictionary) raises an error, and so on. Most areas, if I dug in a little, were missing things. Still impressive for 5kLOC, of course.
- vkazanov 4y ago...and there's no official way of finding these limitations. It's amazing for a personal project but not good enough for a serious option.