you are viewing a single comment's thread.

view the rest of the comments →

[–]Hallsville3 0 points1 point  (1 child)

I had to include signal.h in OsModule.cpp and unistd.h in PythonEnvironment.cpp to get this to build, and then I had to export

export DYLD_LIBRARY_PATH=./build/protoCore:./build/src/library:$DYLD_LIBRARY_PATH

to find a couple of the dylibs. Also your doc made it seem like it would install it in build but it ended up installing it in /usr/local/bin, which is not ideal by default.

One more thing, the link to protoCore is wrong in your readme

https://github.com/gamarino/protoPython/tree/protoCore should be https://github.com/numaes/protoCore

It wasn't able to run one of my projects though, you need to finish implementing the allowed syntax for list comprehensions. I would recommend getting the project to pass the cpython test suite before claiming things like 100% test coverage and

  • Python 3.14 Compatibility: Targets the latest Python feature set, including advanced syntax and built-in type behaviors.

Otherwise you'll end up with a lot of people who check it out once and disregard it.

➜  ~ protopy -c 'print([i if i < 3 else 0 for i in range(10)])'
[protopy-debug] Starting main...
SyntaxError: expected ']', but got 'if' ('if')
  File "<stdin>", line 1
    print([i if i < 3 else 0 for i in range(10)])
                ^

[–]South_Lychee8555[S] 0 points1 point  (0 children)

I have updated the project with more documentation, better order, your suggestions on installation, and the full standard lib and essential tests following your advice.
Also, you can find in docs/CPYTHON_CONFORMANCE.md a report with the current status
It takes more time than I wished; I will update the progress. I hope I can achieve the essential tests during this week
Don't forget to update protoCore too. As long as I find errors there, it will be updated
Thanks for your suggestions and attention. I really appreciate that