Ezhil (programming language): Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Short description|Tamil-based language, for education}} | |||
{{Infobox programming language | {{Infobox programming language | ||
| name = Ezhil | | name = Ezhil | ||
Line 95: | Line 96: | ||
==Implementations== | ==Implementations== | ||
Current Ezhil implementation<ref>https://github.com/arcturusannamalai/Ezhil-Lang</ref> is tightly integrated with the Python runtime. Ezhil interpreter is based on a readline-like [[command line interface|CLI]], while it can also be run in a batch mode. The interactive mode consumes programs as UTF-8 encoded text and builds a tree, using a compiler front-end, to build an [[Abstract Syntax Tree|AST]], and executes it using the Python objects build from this AST. | Current Ezhil implementation<ref>{{Cite web|url=https://github.com/arcturusannamalai/Ezhil-Lang|title = Ezhil-Lang|date = 4 October 2021}}</ref> is tightly integrated with the Python runtime. Ezhil interpreter is based on a readline-like [[command line interface|CLI]], while it can also be run in a batch mode. The interactive mode consumes programs as UTF-8 encoded text and builds a tree, using a compiler front-end, to build an [[Abstract Syntax Tree|AST]], and executes it using the Python objects build from this AST. | ||
==Examples== | ==Examples== | ||
Line 106: | Line 107: | ||
# தமிழில் ஒரு எடுத்துக்காட்டு | # தமிழில் ஒரு எடுத்துக்காட்டு | ||
பதிப்பி "வணக்கம் Vijay!" | பதிப்பி "வணக்கம் Vijay!" | ||
பதிப்பி "உலகே வணக்கம்" | பதிப்பி "உலகே வணக்கம்" | ||
பதிப்பி "******* நன்றி!. *******" | பதிப்பி "******* நன்றி!. *******" | ||
Line 223: | Line 224: | ||
main() | main() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[File:Ezhil Chinese YinYang.png|thumb | [[File:Ezhil Chinese YinYang.png|thumb|The following is a Turtle graphics based example to draw the [[Yin and yang|Yin-Yang]] symbols]] | ||
==Logo Ezhil== | ==Logo Ezhil== | ||
Line 233: | Line 234: | ||
==References== | ==References== | ||
{{reflist}} | {{reflist}} | ||
#{{cite arXiv| | #{{cite arXiv|eprint=0907.4960|title=Ezhil: A Tamil Programming Language|last=Annamalai|first=Muthiah|date=28 Jul 2009|class=cs.PL}} Reference implementation of Ezhil programming language | ||
==External links== | ==External links== |