![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Home --> IITM Software --> PERL Modules |
Introduction (and a bit of history) In the context of computing with Indian languages, people have often asked "can you not allow computer programs to be written in Indian languages"? Supposedly, the idea is to allow the development of applications in Indian languages. Nearly two decades ago, it was reported that Sanskrit is the most appropriate language for writing computer software. The report, quoted as having been published in the Forbes magazine, seems to have caught the attention of scholars all over India. Unfortunately, no one seems to have asked if this were feasible! Worse still, Forbes Magazine never carried such a report. Systems Development Laboratory, IIT Madras. which has contributed to significant development in Multilingual computing (and hence a meaningful IT solution for India), did think of applications which one could write in a regional language, along the lines of programing with an interpreted language such as BASIC. In fact, as far back as 1989, an equivalent of BASIC was shown to be viable in Tamil and Telugu. The package consisted of an editor and an interpreter which would execute the statements prepared using the editor (a form of Integrated environment). The lab realized however that large systems could not be easily developed using this approach and concentrated on other applications that people in India could readily use. Scripts were traditionally easy to write but slow in execution. PERL has changed all that today. PERL has developed into an important programming resource for efficient text processing, not only for web based applications but also for standalone applications on a variety of systems. PERL is a remarkably good choice for writing applications which would interpret scripts written in Indian languages. Very little is required by way of enhancements to standard PERL which handles regular expressions with great ease and simplicity. ![]() One would invoke this program (which could be given a name like llecho_pl.llf) as$ lperl llecho_pl.llfwhere lperl is a preprocessing utility which would convert the .llf file into an ASCII file conforming to the requirements of a standard PERL program, and invoke PERL to handle the converted file. A typical use of the utility may show up like this on the console screen. ![]() While invoking the lperl utility, the command shell used is not to be taken as the standard Unix shell, for it would not allow data entry in Indian scripts. A special Indian language based command shell has been used here under Linux. This shell allows interaction with the user in different languages (one language at a time) and can display text in all the scripts. Using the command shell, one can invoke other lperl programs such as a sorting program or email client and retain on the screen a totally regional language based interaction. |
Note
The enhancements to PERL
have been incorporated in version 5.0 of PERL for the Linux platform. A
suitable command shell supporting Indian language based interaction is
also provided.
The llperl
module is available for the Linux platform.
Sample PERL programs may be seen in the linked page PERL under MSWindows Though PERL has been ported
to the Win9x/2000/XP platforms, there are some ticklish problems to deal
with in respect of shared memory implementation. Shared memory is required
to allow a local language based command shell to work with PERL. This is
being examined and quite likely a local language based command shell that
can share data with PERL modules will be available as part of the IITM
software at a later date.
|
Acharya Logo |
Local Time: 17 18 40 Kali Year 5112 Month: Makaram , Day:26 Star: Magha |