C Translator for HP Prime - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: C Translator for HP Prime (/thread-20850.html) |
C Translator for HP Prime - Insoft - 11-16-2023 05:11 PM C Translator for for the HP Prime. After initially creating P+ to enhance PPL by simplifying code maintenance, its evolution led it to resemble C/C++ in various aspects. Surprisingly, I discovered that by modifying the P+ pre-processor, I could effectively convert C code into PPL. Absolutely! That breakthrough indeed stemmed from the realization that by tweaking the P+ pre-processor, it became possible to convert C code into PPL. For those intrigued, the C Translator to PPL is accessible for experimentation. P+ v1.5 has been streamlined and has dropped {} in favour of PPL like end; endif; next; etc... and C- will be focused on translating C code to PPL P+ / C- [attachment=12864][attachment=12865] C- is C minus some aspects like pointers. minimize Code: #pragma (minify = 1) embed PPL code Code: #PPL ... #end |