These calculators come with a BASIC-like interpretator, so you'd probably want to look into that. Recently, a C compiler was released, so you can program in both languages.
Here, you can have a look at the developers guide, containing information like the SDK, specs etc. Basicaly everything you'll need to know is in there.