----- Original Message ----- From: "Olin Lathrop" To: "Microcontroller discussion list - Public." Sent: Wednesday, March 31, 2010 9:32 AM Subject: Re: [PIC] DTMF decoding > Tamas Rudnai wrote: >>> Not a compiler, but I created a source to source translater long >>> ago. On Windows I write in Pascal, convert that to C, compile the >>> C, throw out the C, and keep the binary. >> >> Sounds interesting. Would it work with PIC code too? > > It could if there were a MPASM back end for it. The translator has > completely independent front ends and back ends. The front end parses the > input language and builds a description of the program in memory in > language-independent structures. The back end then runs and writes the > program in the output language from the data in memory. > > For the process described above, the Pascal front end and the C back end > are > used. It is theoretically possible to write a MPASM back end, but I > haven't > done that yet. How about modifying your "C" generating back end to generate "C" for a PIC? -- Bob Ammerman RAm Systems -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist