home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!gynko!hoford
- From: hoford@gynko.circ.upenn.edu (John Hoford)
- Newsgroups: comp.sys.hp48
- Subject: Re: C compiler for HP48
- Message-ID: <106025@netnews.upenn.edu>
- Date: 21 Jan 93 19:57:35 GMT
- References: <books.196.0@fsunuc.physics.fsu.edu> <1jmjcfINN1cb@emmental.csv.warwick.ac.uk> <STEVEV.93Jan21105429@miser.uoregon.edu>
- Sender: news@netnews.upenn.edu
- Organization: Cardiothoracic Imaging Research Center
- Lines: 38
- Nntp-Posting-Host: gynko.circ.upenn.edu
-
- In article <STEVEV.93Jan21105429@miser.uoregon.edu> stevev@miser.uoregon.edu (Steve VanDevender) writes:
-
- > C is a reasonably good language
- >for developing larger applications, but it is also difficult,
- >arcane, and not designed for interactive, incremental program
- >development. C has its place, but not on the HP 48. System RPL
- >is by necessity the systems programming language of the HP 48,
- >and Saturn assembler the language of choice for the low-level and
- >time-critical applications. You could write a C-like compiler
- >for the HP 48, but I do't think you could really implement ANSI C
- >well on its architecture.
-
- I don't think thats what any one wants to do.
- What C does well is enable you to write efficent ,low level code
- in a easily writable manner.
- That is the capability that I would like.
-
- >
- >Just because a machine can be programmed in assembly language
- >doesn't mean that it can or should have a C compiler. C is not
- >the be-all and end-all of programming languages, and any serious
- >programmer should be able to work in a variety of languages.
-
- For Fast code the only choice on the 48 is assembly which is difficult
- for the same reason it is difficult to make a C compiler.
-
- what would be ideal is :
- A C like compiler that is adapted to working in the
- 48 enviroment.
- It's main is called with the stack an argument.
- it has access to all the functions of hpl.
- It has functions for creating things on the stack
- IT has some Hi speed screen IO functions.
-
- I know that I could use my HP more if I had something like this.
-
- John D. Hoford
-
-