PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PPL newbie question

I think I understand how this works. You write a program and the "compile" is on the fly meaning that you are not creating an arm executable file but just the instructions. Am I correct? If this is so, why could you not use this same procedure to create an .exe after you compile so that you don't have to have ppl installed on the target system.

I had the same complains with PocketC.

Let me know if I'm way off base.

-amdzero
(novice evc++ programer)
It is a lot more complicated then just dumping the arm code instructions from memory to a file. PPL rely on a series of internal functions that are located in the PPL.exe and variables are assigned dynamically by the interpreter not the compiler. Trust me if it would be easy I would have done it. :lol:
Would it be possible to make a merged file out of it. Like something on the desktop side that would make a file that is for all reasons just the two file permintly liked togeter even if it is a bigger size. This way a person with ppl could just run the files and a person (a friend) could run the larger file.

example if your program is abc is 500k and ppl is 1000k (I do not have it yet so I am making this up) the .exe file would be 1500k.

Just make it so it is permitly mixed.
You mean if the runtime and the app can be merged? Not planned I don't think, just tell the runtime to load the ppl, I think there's an autorun feature.
Hi Deathmvp,

This is the plan I had for version 0.7. I think it is the easiest. Thanks for the idea anyway. :)

So far, PPL.EXE is something like 237k. I hope it won't grow past 300k. .ppc files (compiled ppl programs) are usually somewhere around 2k to 10k.

Concerning your beta application, you will receive an email for the next version of the beta, probably next week.

Regards,
Kornalius
Like sponge mentionned, you can use the autorun.ppl feature in the meantime. It does a very good job and is transparent.

Ex:

1. MyApp.ppl --> compiled, compressed and encrypted to MyApp.ppc
2. Rename MyApp.ppc to Autorun.ppc
3. Rename PPL.exe to MyApp.exe

Bingo, two files: MyApp.Exe and Autorun.ppc and nobody would think you are using an interpreted language! :wink:

But, again, this is a temporary solution (that will remain available in 0.7+). Version 0.7 will include an .exe merger (ppl.exe + myapp.ppc).

Regards,
Kornalius