Re: Generating C++ code

2012-10-11 Thread Etienne Robillard
On Wed, 10 Oct 2012 20:12:36 -0700 Tim Roberts wrote: > Jean-Michel Pichavant wrote: > > > >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 unsucc

Re: Generating C++ code

2012-10-10 Thread Tim Roberts
Jean-Michel Pichavant wrote: > >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 to template engine specific to html

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

Re: Generating C++ code

2012-10-10 Thread Jean-Michel Pichavant
- Original Message - > On 2012-10-10, Etienne Robillard wrote: > > On Wed, 10 Oct 2012 11:59:50 +0200 (CEST) > > Jean-Michel Pichavant 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

Re: Generating C++ code

2012-10-10 Thread Grant Edwards
On 2012-10-10, Etienne Robillard wrote: > On Wed, 10 Oct 2012 11:59:50 +0200 (CEST) > Jean-Michel Pichavant 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

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 > redir

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 t

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 an

Re: Generating C++ code

2012-10-10 Thread andrea crotti
2012/10/10 Jean-Michel Pichavant : > 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). Everythin

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). Every

Re: Generating C++ code

2012-10-10 Thread Etienne Robillard
On Wed, 10 Oct 2012 11:59:50 +0200 (CEST) Jean-Michel Pichavant 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 way (everything re

Re: Generating C++ code

2012-10-10 Thread Jean-Michel Pichavant
- Original Message - > On Tue, 09 Oct 2012 20:55:48 +0100 > Andrea Crotti wrote: > > > On 10/09/2012 05:00 PM, 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 r

Re: Generating C++ code

2012-10-09 Thread Etienne Robillard
On Tue, 09 Oct 2012 20:55:48 +0100 Andrea Crotti wrote: > On 10/09/2012 05:00 PM, 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 sear

Re: Generating C++ code

2012-10-09 Thread Andrea Crotti
On 10/09/2012 05:00 PM, 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 to t