mal, the programming language



mal, the programming language
koshy george, Apr'93

<(o)> <(o)>

The following is a tutorial introduction to the mal language, which is a derivative of C language intended for malayALi programmers. A sample mal program which prints enthokkeyund~ ASAnE 10 times, is also given at the end. An executable of the mal compiler for DEC, SUN, PC and MAC -platforms would be shortly made available for free by anonymous ftp.

We assume fairly decent familiarity with C language to learn mal language. Note that a real mal source program written by a true mallu should always have the extension .mal.

We are working on improved versions of the language. Our ultimate aim is to create at least three versions of the mal language, one for thiruvananthapuram area, one for thRissUR area and one for kozhikkOd~ area.

The differences will be only cosmetic. For example, the kozhikkOd~ version will have error messages which begin with - nte RabbE and the I/O functions vAyikkuka and ezhuthukawill be replaced by bAyikkuga and eythuga respectively.

A sAmAnam version, (with object oriented support) is also under preparation. This is, of course, going to be called mal++.

We share a vision, a dream, -mal language being used by mallu-s all over the world and a programming culture which reeks of mallu flavor. We have to make that dream come true. shouldn't we?

/***************************************************/
/* 'enthokkeyund~ ASAnE?' -ennu patthu pRavaShyam  */
/*  ezhuthunna 			                   */
/*  oru mal program.			           */
/*  ezhuthiyath~ - Koshy George		           */
/*  thIyathi       - makaram,11, 1183              */
/*-------------------------------------------------*/
#uLppedutthuka /
pRadhAna_inam( )  /*equivalent to main()*/
{
pURNasankhya thEnga; /*pURNasankhya is equivalent to int, 
		bhinnasankhya is equivalent to float*/

thEngA = 0;
(thEngA < 10) pachchakkaLLam Akumvare AvaRtthikkuka
	{
	ezhuthuka ("%s\n", "enthokkeyund~ ASAnE?");
	thEngA++;
	}
}

/***************************************************/

<(o)>
Updated last on Apr 20, 1996
kgeorge@serv.net

<(o)> index <(o)> scik <(o)> <(o)>