[go: up one dir, main page]

Menu

Tree [e79ef5] v0.6 /
 History

HTTPS access


File Date Author Commit
 Notes 2013-06-25 Muthiah Annamalai Muthiah Annamalai [675aa9] builtins : add string functions for Ezhil/Exprs
 ancilla 2013-07-24 Muthiah Annamalai Muthiah Annamalai [e36599] update notepad++ syntax hiliting file
 ezhil 2013-07-28 Muthiah Annamalai Muthiah Annamalai [bd6a03] update after merge
 ezhil_tests 2013-07-27 Muthiah Annamalai Muthiah Annamalai [fb77f8] ezhil_parser.py : fix nested if statement parsi...
 tests 2013-06-13 Muthiah Annamalai Muthiah Annamalai [eddd42] ifelseif tests that fail right now
 web 2013-07-20 Muthiah Annamalai Muthiah Annamalai [785d92] added new language keywords
 .gitignore 2013-07-04 Muthiah Annamalai Muthiah Annamalai [992fa3] ignore the ezhil_tests/names.txt - a generated ...
 LICENSE.txt 2013-06-14 Muthiah Annamalai Muthiah Annamalai [f63505] add a PyPi package - with ezhil domain/namespace
 README.md 2013-07-16 Muthiah Annamalai Muthiah Annamalai [f7208b] README.md : python library version of Ezhil
 ez 2013-06-09 Muthiah Annamalai Muthiah Annamalai [1ae390] add interpreter to work with stdin by default
 ez.bat 2013-07-04 Muthiah Annamalai Muthiah Annamalai [5e0ef9] ez.bat : always run in STDIN mode
 ezd 2013-06-26 Muthiah Annamalai Muthiah Annamalai [a95126] ezhil interpreter in debug mode
 lint.sh 2013-07-03 Muthiah Annamalai Muthiah Annamalai [c4b467] filerw.n : new test for file read-write using E...
 setup.py 2013-07-28 Muthiah Annamalai Muthiah Annamalai [e79ef5] Ezhil-Lang version 0.6
 test 2013-07-28 Muthiah Annamalai Muthiah Annamalai [76c69f] update after merge
 webserver.sh 2013-07-10 Muthiah Annamalai Muthiah Annamalai [842d75] web/index.html : soft link to Ezhil-Web-Interfa...

Read Me

Ezhil-Lang

Ezhil-Lang : எழில் - ஒரு தமிழ் நிரலாக்க மொழி; தமிழ் மாணவர்களுக்கு இது முதன் முரை கணிப்பொரி நிரல் ஏழுதுவதர்கு உதவும் (Ezhil, is a fun Tamil programming language for K-12)
Ezhil is a procedural language with dynamic types,
like Ruby/Python. Ezhil has a pascal-like syntax,
with for-end, while-end, if-elseif-else-end statements,
break, continue and def-end for defining functions.

Ezhil language is implemented in a handwritten scanner
and parser using the Python programming language in
about 1500LOC.

If you would like to tryout the code, all you need
is a python interpreter, and the code from
https://github.com/arcturusannamalai/Ezhil-Lang/archive/latest.zip

Read Wikipedia article on Ezhil (Tamil) http://ta.wikipedia.org/w/index.php?title=%E0%AE%8E%E0%AE%B4%E0%AE%BF%E0%AE%B2%E0%AF%8D_%28%E0%AE%A8%E0%AE%BF%E0%AE%B0%E0%AE%B2%E0%AE%BE%E0%AE%95%E0%AF%8D%E0%AE%95_%E0%AE%AE%E0%AF%8A%E0%AE%B4%E0%AE%BF%29

or (English) http://en.wikipedia.org/wiki/Ezhil_%28programming_language%29

Interesting features include support for recursion,
and an interactive interpreter. Ezhil supports a Turtle module
for simple on-screen graphics, similar to LOGO language from 1960s.

USAGE

Currently Ezhil language is under development, and a little rough around the
edges. You may still try it out, by going to the git source repository,

$ cd ./ezhil-lang/

and then typing,

Batch Mode

$ ./ez ./ezhil_tests/hello.n
பதிப்பி "வணக்கம்!"
பதிப்பி "எழில் அழைக்கிரது"

வணக்கம்!
எழில் அழைக்கிரது

where you should see the output above. For usage, try,
$ ./ez --help
usage: [-h] [-debug] [-stdin] [files [files ...]]

positional arguments:
files

optional arguments:
-h, --help show this help message and exit
-debug enable debugging information on screen
-stdin read input from the standard input

Interactive Mode

$ ./ez
எழில் 1>> 1 + 5
6
எழில் 2>> பதிப்பி "வணக்கம்! எழில் அழைக்கிரது"
வணக்கம்! எழில் அழைக்கிரது
எழில் 3>> exit()

Web Mode

You can also run ezhil as a web service by launching the webserver,
$ ./webserver.sh
and open the webpage, http://localhost:8080 in google-chrome or firefox,
to enter your program and evaluate it.

Python Library

Ezhil Tamil programming Python package can be invoked from within the Python shell or IDLE on Windows, by simply typing,

import ezhil
ezhil.start()

But to do all of this, you need to build and install the Python packages from this source, by,
$ cd ezhil-lang/ && python setup.py build
$ cd ezhil-lang/ && python setup.py install