Post Reply 
C Translator for HP Prime
11-16-2023, 05:11 PM (This post was last modified: 01-01-2024 10:22 PM by Insoft.)
Post: #1
C Translator for HP Prime
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
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)