Re: [Cython] call for contribution: PEP 498 - Literal String Interpolation
Hello, I would like to give a look on that on my spare time. On 5 Sep 2015 20:32, "Stefan Behnel" <stefan_ml@behnel.de> wrote: Hi! It looks like PEP 498 (f-strings) is going to be accepted soon. Anyone interested in implementing it for Cython? https://www.python.org/dev/peps/pep-0498/ It's certainly a bit of work, but it's also very much Python-level functionality and most of it can be handled in the parser, so I would count it as an entry-level project for working on Cython. There is already an initial implementation for CPython (in C) which should provide an answer to the tricky details of the functionality itself, as well as tests for it (eventually). https://bugs.python.org/issue24965 So, if this feature, and if extending the Cython language and working on a real compiler sounds tempting to you, please speak up on the cython-devel mailing list. Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
Fabrizio Messina schrieb am 07.09.2015 um 12:23:
On 5 Sep 2015 20:32, "Stefan Behnel" wrote:
It looks like PEP 498 (f-strings) is going to be accepted soon. Anyone interested in implementing it for Cython?
https://www.python.org/dev/peps/pep-0498/
It's certainly a bit of work, but it's also very much Python-level functionality and most of it can be handled in the parser, so I would count it as an entry-level project for working on Cython. There is already an initial implementation for CPython (in C) which should provide an answer to the tricky details of the functionality itself, as well as tests for it (eventually).
https://bugs.python.org/issue24965
So, if this feature, and if extending the Cython language and working on a real compiler sounds tempting to you, please speak up on the cython-devel mailing list.
Hello, I would like to give a look on that on my spare time.
Cool. If you need any help or have any questions, just reply to this thread. Here's an intro to get you started. It explains how the test suite works and how you can figure out how the C code you see is being generated. https://github.com/cython/cython/wiki/HackerGuide#getting-started Stefan
Thank you I will give it a look this evening when child fall asleep :) On 8 Sep 2015 08:19, "Stefan Behnel" <stefan_ml@behnel.de> wrote:
Fabrizio Messina schrieb am 07.09.2015 um 12:23:
On 5 Sep 2015 20:32, "Stefan Behnel" wrote:
It looks like PEP 498 (f-strings) is going to be accepted soon. Anyone interested in implementing it for Cython?
https://www.python.org/dev/peps/pep-0498/
It's certainly a bit of work, but it's also very much Python-level functionality and most of it can be handled in the parser, so I would count it as an entry-level project for working on Cython. There is already an initial implementation for CPython (in C) which should provide an answer to the tricky details of the functionality itself, as well as tests for it (eventually).
https://bugs.python.org/issue24965
So, if this feature, and if extending the Cython language and working on a real compiler sounds tempting to you, please speak up on the cython-devel mailing list.
Hello, I would like to give a look on that on my spare time.
Cool. If you need any help or have any questions, just reply to this thread.
Here's an intro to get you started. It explains how the test suite works and how you can figure out how the C code you see is being generated.
https://github.com/cython/cython/wiki/HackerGuide#getting-started
Stefan
_______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
participants (2)
-
Fabrizio Messina -
Stefan Behnel