- Python is fun; Its built-ins are reliable, simple and consistent
- Therefore, translating Python's built-ins into JS will reduce the amount of facepalms and make things better overall
- A given built-in is considered complete only if all of its tests from CPython source are translated to JS and passing.
- The implementation in JS is kept as similar as possible to the source implementation of Python in C.
Progress (July 26 2019)
|Built-in||Tests written||% Tests passing||Status|
|bool||5||60%||Lacking features, stable|
|abs||8||100%||Lacking features, stable|
|any||1||100%||Lacking features, stable|
... > 60 untouched
- Strict equality doesn't work yet, eg:== 3>>> true=== 3>>> false
- No bundling tools
Q: Are you really going to implement all 69 built-ins?
A: Probably not. Some of them can't be implemented anyway (like classmethod), and some of them are rarely used and are too complex to justify including them (like memoryview)