× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: "RPG isn't cool" (was: Re: IBM Secret)
  • From: "Phil Hall" <hallp@xxxxxxxx>
  • Date: Wed, 16 Feb 2000 12:48:39 -0600

Bob,

: I've been giving an open source RPG to C [translator|precompiler].
: It doesn't seem too difficult, just time consuming.  The issues for
: portability (and why do it without portability) to me seem to be the
: external file descriptions, and the screen handling system.  I
suppose
: both could just be unhandled in the language and require external
: calls, but that kindof defeats the purpose.  Anybody else given this
: some thought?

As for providing a portable solution to screen & file handling, this
is, obviously more involved than people think. One solution would be
to have a runtime support framework, that would be able to render the
screen or access the database for each particular platform, i.e. for
Unix you would mimic the screens using the curses library, on Win9x/NT
you would use the console API's but the interface to either method
would be the same, so that the C code generated from the RPG could run
unchanged on either platform. For data file handling, again this would
probably be best done coding to intermediate API layer (which you
would write) which would insulate you from the underlying platform
database implementation.

It's do-able (and I would be interested in putting some time into it,
as the other open source project 'WyattERP' is not something that my
present employer would let me work on - I work for a ERP company ! )
but it will not be a two week project !

BTW: ILE/C certainly handles all of the AS/400 files types, some
better
than others, perhaps a small project in converting the RPG into ILE/C
with ILE/C using the Dynamic Screen API's. This would end up giving a
closer representation of the work needed on other platforms for the
screen handling support

--phil



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.