[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-11 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes nosy_count: 2.0 -> 3.0 pull_requests: +27772 pull_request: https://github.com/python/cpython/pull/29522 ___ Python tracker

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-10 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 1cbaa505d007e11c4a1f0d2073d72b6c02c7147c by Guido van Rossum in branch 'main': bpo-45696: Deep-freeze selected modules (GH-29118) https://github.com/python/cpython/commit/1cbaa505d007e11c4a1f0d2073d72b6c02c7147c --

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-10 Thread Guido van Rossum
Guido van Rossum added the comment: After PR 29118 is merged we get the benefits on UNIXy systems. We have several TODOs left then: - (Definitely:) Generate Windows build files - (Probably:) Find a way to avoid having to regenerate everything whenever any source file changes (any source

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-02 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-02 Thread Guido van Rossum
Change by Guido van Rossum : -- keywords: +patch pull_requests: +27637 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29118 ___ Python tracker

[issue45696] "Deep-freeze": skip the marshal step by generating C code

2021-11-02 Thread Guido van Rossum
: normal status: open title: "Deep-freeze": skip the marshal step by generating C code versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue45696> ___ ___

Re: Generating C++ code

2012-10-11 Thread Etienne Robillard
this subject has been quite unsuccessful, I've been redirected to template engine specific to html mostly. Does anybody knows a python template engine for generating C++ code ? I'm a big fan of Cheetah. It's simple but flexible enough to be useful. Besides the many web projects I've done

Re: Generating C++ code

2012-10-10 Thread Jean-Michel Pichavant
something readable and maintainable. My google search about this subject has been quite unsuccessful, I've been redirected to template engine specific to html mostly. Does anybody knows a python template engine for generating C++ code ? Here's my flow: XML file - nice

Re: Generating C++ code

2012-10-10 Thread Etienne Robillard
On Wed, 10 Oct 2012 11:59:50 +0200 (CEST) Jean-Michel Pichavant jeanmic...@sequans.com wrote: Well, the C++ code will end up running on a MIPS on a SOC, unfortunately, python is not an option here. The xml to C++ makes a lot of sense, because only a small part of the code is generated that

Re: Generating C++ code

2012-10-10 Thread Stefan Behnel
Jean-Michel Pichavant, 10.10.2012 11:59: Well, the C++ code will end up running on a MIPS on a SOC, unfortunately, python is not an option here. The xml to C++ makes a lot of sense, because only a small part of the code is generated that way (everything related to log fatal events).

Re: Generating C++ code

2012-10-10 Thread andrea crotti
2012/10/10 Jean-Michel Pichavant jeanmic...@sequans.com: Well, the C++ code will end up running on a MIPS on a SOC, unfortunately, python is not an option here. The xml to C++ makes a lot of sense, because only a small part of the code is generated that way (everything related to log fatal

Re: Generating C++ code

2012-10-10 Thread Ulrich Eckhardt
Am 09.10.2012 18:00, schrieb Jean-Michel Pichavant: I'm trying to generate C++ code from an XML file. I'd like to use a template engine, which imo produce something readable and maintainable. [...] Here's my flow: XML file - nice python app - C++ code There is one question that you should

Re: Generating C++ code

2012-10-10 Thread Jean-Michel Pichavant
sorry but i don't get what you mean with a MIPS on a SOC. Is not Python well supported on MIPS ? Sorry, SOC means system on chip. The binary runs on the MIPS, there's no file system, no operanding system, except for one very basic task scheduler. That's why everything is done at compile

Re: Generating C++ code

2012-10-10 Thread Michael Torrie
On 10/09/2012 10:00 AM, Jean-Michel Pichavant wrote: Greetings, I'm trying to generate C++ code from an XML file. I'd like to use a template engine, which imo produce something readable and maintainable. My google search about this subject has been quite unsuccessful, I've been redirected

Re: Generating C++ code

2012-10-10 Thread Grant Edwards
On 2012-10-10, Etienne Robillard animelo...@gmail.com wrote: On Wed, 10 Oct 2012 11:59:50 +0200 (CEST) Jean-Michel Pichavant jeanmic...@sequans.com wrote: Well, the C++ code will end up running on a MIPS on a SOC, unfortunately, python is not an option here. The xml to C++ makes a lot of

Re: Generating C++ code

2012-10-10 Thread Jean-Michel Pichavant
- Original Message - On 2012-10-10, Etienne Robillard animelo...@gmail.com wrote: On Wed, 10 Oct 2012 11:59:50 +0200 (CEST) Jean-Michel Pichavant jeanmic...@sequans.com wrote: Well, the C++ code will end up running on a MIPS on a SOC, unfortunately, python is not an option here.

Re: Generating C++ code

2012-10-10 Thread Stefan Behnel
Jean-Michel Pichavant, 10.10.2012 17:05: SoC == System On a Chip. It's a single-chip micro-controller embedded inside something that's not a general purpose computer (e.g. it's in a router, or piece of industrial equipment, or whatever). It may only have a couple MB of memory, it might have

Re: Generating C++ code

2012-10-10 Thread Tim Roberts
engine specific to html mostly. Does anybody knows a python template engine for generating C++ code ? I'm a big fan of Cheetah. It's simple but flexible enough to be useful. Besides the many web projects I've done with it, I also I use it in one project to generate PHP code (it generates data access

Generating C++ code

2012-10-09 Thread Jean-Michel Pichavant
knows a python template engine for generating C++ code ? Here's my flow: XML file - nice python app - C++ code From what I know I could use Cheetah, a generic template engine. I never used it though, I'm not sure this is what I need. I'm familiar with jinja2 but I'm not sure I could use

Re: Generating C++ code

2012-10-09 Thread Andrea Crotti
to template engine specific to html mostly. Does anybody knows a python template engine for generating C++ code ? Here's my flow: XML file - nice python app - C++ code From what I know I could use Cheetah, a generic template engine. I never used it though, I'm not sure this is what I need. I'm

Re: Generating C++ code

2012-10-09 Thread Etienne Robillard
. My google search about this subject has been quite unsuccessful, I've been redirected to template engine specific to html mostly. Does anybody knows a python template engine for generating C++ code ? Here's my flow: XML file - nice python app - C++ code From what I know I could