I also compiled version 1.0 (as well as 0.9 and other 1.x branches). You can find my results at https://github.com/yakimka/ancient_python
Version 1.0.1, like 0.9.1, supports classes, but you should not include parentheses `()` in the class definition.
```
Python 1.0.1 (Jan 9 2024)
Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
>>> class Foo:
... pass
...
>>> Foo
<class Foo at 650460>
However, in version 0.9.1, it works the opposite way—you must include `()`; otherwise, it won’t work. Additionally, `import os` might not work unless you run `make libinstall`.
I even ported some modern code to Python 1.6 and 1.0 just for fun 😊. You can check it out here: https://gist.github.com/yakimka/2b0bb1581553bbf625aeef2fc8c5fa6d
Ohhhh, nice catch. Thanks.
A pyodide version of that would be so fun, so people can visit the museum directly online.
> A pyodide version of that would be so fun
Yeah, I was thinking about it too, but I didn’t have enough time to do it 😀
I also compiled version 1.0 (as well as 0.9 and other 1.x branches). You can find my results at https://github.com/yakimka/ancient_python
Version 1.0.1, like 0.9.1, supports classes, but you should not include parentheses `()` in the class definition.
```
Python 1.0.1 (Jan 9 2024)
Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
>>> class Foo:
... pass
...
>>> Foo
<class Foo at 650460>
```
However, in version 0.9.1, it works the opposite way—you must include `()`; otherwise, it won’t work. Additionally, `import os` might not work unless you run `make libinstall`.
I even ported some modern code to Python 1.6 and 1.0 just for fun 😊. You can check it out here: https://gist.github.com/yakimka/2b0bb1581553bbf625aeef2fc8c5fa6d
Ohhhh, nice catch. Thanks.
A pyodide version of that would be so fun, so people can visit the museum directly online.
> A pyodide version of that would be so fun
Yeah, I was thinking about it too, but I didn’t have enough time to do it 😀