HP Prime Programming options



#9

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:

  1. Can I program offline and import?
  2. What about C and ASM cross compiling?

Thanks.


#10

> 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.


#11

Quote:
At this time, only PPL (Prime Programming Language) is supported.

Is PPL compiled binary, byte code, or interpreted?

Thanks.


#12

During execution, bytecode, according to Tim Wessman at http://www.omnimaga.org/index.php?topic=16826.msg304202#msg304202 .

#13

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?


#14

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


#15

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.


#16

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.


#17

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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming workaround for "prepend" HP PRIME Marek Russ 4 2,100 11-29-2013, 05:46 AM
Last Post: Marek Russ
  hp prime - programming with lists giancarlo 3 1,929 11-10-2013, 02:13 AM
Last Post: Giancarlo
  HP Prime Programming Tutorial #3: WHILE, INPUT, KILL, REPEAT, GETKEY Eddie W. Shore 5 2,443 11-07-2013, 12:25 AM
Last Post: Han
  HP Prime - programming bluesun08 2 1,496 11-04-2013, 04:31 PM
Last Post: bluesun08
  More undocumented programming limitations in the HP Prime Michael de Estrada 3 1,926 11-03-2013, 08:22 PM
Last Post: Michael de Estrada
  HP Prime questions: I/O and Meta programming Andy Gryc 2 1,536 10-31-2013, 11:22 PM
Last Post: Andy Gryc
  HP Prime Programming Tutorial #1: LOCAL, RETURN Eddie W. Shore 6 3,066 10-26-2013, 08:42 PM
Last Post: Miguel Toro
  HP Prime Programming Tutorial #2: MSGBOX, IF-THEN-ELSE, PRINT, FOR Eddie W. Shore 0 1,268 10-26-2013, 03:51 PM
Last Post: Eddie W. Shore
  HP Prime : Programming and the Comma Miguel Toro 7 2,871 10-25-2013, 12:18 PM
Last Post: Miguel Toro
  HP Prime Programming: LOCAL Alberto Candel 3 1,581 10-07-2013, 01:31 AM
Last Post: cyrille de Brébisson

Forum Jump: