I don't know if it uses tasks or packages....it is a program with freely
available source.  I actually don't know Ada yet (although I know C/C++ well
so I just need to study up I think), and I haven't taken a detailed enough
look to learn much about the language features that are used.

I figure it shouldn't be too hard too put a palm UI on it.  The program
takes any word in latin and gives a dictionary entry and a full form
identification.  It therefore needs to do a LOT of parsing of strings and
other picky things, which is why I would like to avoid rewriting it.  A UI
is just an input field and an output field so this should be easy.

Thanks for the link....I'll see if this will help.  I've also found a
program that translates ada to C++, but it is commercial and the website
doesn't even say how you go about buying it.

What would be ideal is something that compiles x86 assembly (or sparc or
alpha) onto palm.

"Danny Epstein" <[EMAIL PROTECTED]> wrote in message
news:85078@palm-dev-forum...
>
> > I have a console program written in Ada, and I want to port it onto
palm.
>
> Ada! No one talks about that anymore! :)
>
> How big is it? What Ada features does it use? I hope it doesn't use tasks.
> :) Does it uses packages?
>
> By "console program", I assume you mean that it's based on a command line
> interface. Palm OS has the concept of a "standard I/O" app, but this isn't
> something most users would know how to run. You can write a "standard I/O
> provider" app to host your standard I/O app. That'd help, but it's still
not
> the kind of interface most Palm users are familiar with. A rewrite may be
> necessary just to get a UI that's appropriate for the platform. There may
be
> similar issues with storage, memory use, etc. Palm OS is a constrained
> platform, unlike most other platforms that you're likely to be porting
from.
>
> If your app isn't too big, rewriting it is probably your best bet. If it's
> huge, you might consider defining macros and using similar ugly techniques
> to get your existing code to compile as C or C++ source with minimal
> changes. I don't know how far you can go with this. The biggest problem
with
> this approach is debugging - both the macros themselves and the code using
> the macros.
>
> As far as Ada for Palm OS, the only thing I could find is this demo:
>
> http://www.gnat.com/texts/products/prod_java.htm
>
> Good luck.
> --
> Danny @ PalmSource
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to