Posts: 1,619
Threads: 147
Joined: May 2006
Hi,
I know I probably missed this discussion sometime ago and a Google search or two and quick scan here hasn't yield much other than Prime programming is done onboard with a Pascal-esk looking native language.
Questions:
- Can I program offline and import?
- What about C and ASM cross compiling?
Thanks.
Posts: 153
Threads: 7
Joined: Jun 2008
> Can I program offline and import?
Yes. You can use any text editor, then copy and paste directly into the hardware via the Connectivity Kit. You can also paste directly into the emulator's program editor.
Note that you can also use your computer's full keyboard to directly edit programs in Prime's built-in program editor, either via the Connectivity Kit, or in the emulator.
> What about C and ASM cross compiling?
At this time, only PPL (Prime Programming Language) is supported.
Posts: 1,619
Threads: 147
Joined: May 2006
Quote:
At this time, only PPL (Prime Programming Language) is supported.
Is PPL compiled binary, byte code, or interpreted?
Thanks.
Posts: 46
Threads: 3
Joined: Aug 2013
During execution, bytecode, according to Tim Wessman at http://www.omnimaga.org/index.php?topic=16826.msg304202#msg304202 .
Posts: 15
Threads: 3
Joined: Aug 2013
Does anybody know of any guidelines re editing text in other text editors and copying and pasting code in and out of the emulator? Specifically relating to special characters and encodings?
I have always used the := for assignment rather than the right leaning triangle symbol because I'm not sure how to type that character into a text editor like notepad++ and even if I used it would it paste into the emulator ok?
Posts: 1,278
Threads: 44
Joined: Jul 2007
If you use the correct character, then yes it would paste fine. Everything is Unicode based in the system. UTF16 to be precise. Mainly because why bother adding any extra complexity worrying about UTF8 when space is not really an issue.
TW
Posts: 15
Threads: 3
Joined: Aug 2013
Ok thanks. I guess the character codes are somewhere in the manual - I'll have a search.
By the way it would be nice if in future versions of the emulator the restrictions on mouse selection were relaxed, so that developers can edit freely and easily in the emulator program editor.
At the moment I can't select text and cut it into the clipboard without resorting to the emulator's / HP Prime's copy paste feature. This is the biggest obstacle that slows me down in writing programs. I just want to pretend to be in a normal windows text editor and use my mouse and cut/copy/paste in the normal ways.
Posts: 709
Threads: 104
Joined: Nov 2005
Quote:
Ok thanks. I guess the character codes are somewhere in the manual - I'll have a search.
By the way it would be nice if in future versions of the emulator the restrictions on mouse selection were relaxed, so that developers can edit freely and easily in the emulator program editor.
At the moment I can't select text and cut it into the clipboard without resorting to the emulator's / HP Prime's copy paste feature. This is the biggest obstacle that slows me down in writing programs. I just want to pretend to be in a normal windows text editor and use my mouse and cut/copy/paste in the normal ways.
The alternative is to edit with the connectivity kit. When you save your progress in the connectivity kit, it should also save it to the calculator or emulator.
Posts: 764
Threads: 118
Joined: Aug 2007
The emulator gives easier access to the math and Greek characters instead of creating using text files.
I usually program everything on the hardware and transfer programs to the PC for storage.