ArticleslgStudy

computer science

Ezhil (programming language)

Ezhil (programming language) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Ezhil (programming language) rather than just read about it. In short: Ezhil, in Tamil language script (Tamil: எழில், romanized: Eḻil, lit. 'beauty', Tamil pronunciation: [eɻil̪]), is a compact, open source, interpreted, programming language, originally designed to enable native-Tamil speaking students, K-12 age-group to learn computer programming, and enable learning numeracy and computing, outside of linguistic expertise in predominately English language-based computer systems. In th…

Ezhil (programming language) — main illustration
Ezhil (programming language) — illustration

Key takeaways

  • Ezhil (programming language) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Ezhil (programming language) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Ezhil (programming language) from memory before moving on to harder problems.

Reference excerpt

Ezhil, in Tamil language script (Tamil: எழில், romanized: Eḻil, lit. 'beauty', Tamil pronunciation: [eɻil̪]), is a compact, open source, interpreted, programming language, originally designed to enable native-Tamil speaking students, K-12 age-group to learn computer programming, and enable learning numeracy and computing, outside of linguistic expertise in predominately English language-based computer systems. In the Ezhil programming language, Tamil keywords and language-grammar are chosen to easily enable the native Tamil speaker write programs in the Ezhil system. Ezhil allows easy representation of computer program closer to the Tamil language logical constructs equivalent to the conditional, branch and loop statements in modern English based programming languages. Ezhil is the first freely available programming language in the Tamil language and one of many known non-English-based programming languages. The language was officially announced in July 2009, while it has been developed since late 2007.

Description The syntax of Ezhil is broadly similar to that of BASIC: blocks of code are run in sequential order, or via functions definitions, in a common control flow structures include while, and if. The termination of function block and statement blocks should have the termination keyword, similar to END in BASIC. Declarations are not necessary as Ezhil is a dynamic typed language, though type conversions must be made explicitly. Ezhil has built-in types for Numbers, Strings, Logicals and Lists.

Goals Educational: Ezhil language is targeted toward K-12 students, and native-Tamil speakers, to learn elementary computer science principle Intuitive: Ezhil language syntactic sugar is arranged to allow a sentence structure closer to the head final Tamil language, where the usual word order is SOV, in contrast to the SVO order of English.

Features Arithmetic and logical operations, precedence indicated with parenthesis Over 350+ builtins - many of them commonly found in the Python standard library Procedural programming using functions, supporting recursion, call-by-value etc. Ezhil as a language - it is not a macro-processor, and it is a complete compiler-front-end Ezhil language has syntax highlighting support for Notepad++ and Emacs

Keywords Conditional Statements are modeled after the IF-ELSEIF-ELSE statement . Loop control statements deriving from the WHILE statements are chosen. The function declaration syntax is kept simple. Details include the print statement, and the flow control statements below.

Type system Ezhil has four basic types, for Numbers, Strings, Logicals and Lists. It does not allow creation of new types, being a procedural language without structures or objects.

Language - control structures, function declarations and operators grammar Standard language grammar for control structures for Ezhil language is given below,

If-else statement

Loop statement

Operators Standard logical operators, equality "==", inequality "!=", arithmetic comparison ">=", "<=",">","<" are supported. Arithmetic operators like "+","-","*","/" indicate standard plus, minus, product, division. Modulo is denoted by "%", and exponent by "^" characters.

Comments '#' character denotes a single-line comment from the point to end-of-line. Multi-line comments are not defined.

Function declaration

Variable scoping, and visibility Ezhil supports only call-by-value, and copies all data structures on function invocations. Globals are not supported. Recursion is supported and functions invocation copies variables.

Implementations Current Ezhil implementation is tightly integrated with the Python runtime. Ezhil interpreter is based on a readline-like 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 AST, and executes it using the Python objects build from this AST.

Examples

Hello world The following is a Hello world program in Ezhil:

Guessing game The following is a guessing game with 10-chances to guess a number between [1-100].

File I/O

Turtle graphics The following is a Turtle graphics based example to draw the Yin-Yang symbols.

Logo Ezhil Logo for Ezhil language consists of interlaced letters of the Tamil language script, spelling out Ezhil - A Tamil programming language.

See also Comparison of programming languages

References

Annamalai, Muthiah (28 Jul 2009). "Ezhil: A Tamil Programming Language". arXiv:0907.4960 [cs.PL]. Reference implementation of Ezhil programming language

External links

Official website Ezhil-Language-Foundation on GitHub Ezhil-Lang project on PIP Python repository

Illustrations

Ezhil (programming language) illustration
Ezhil (programming language): Ezhil programs in Notepad++ syntax highlighting mode
Ezhil programs in Notepad++ syntax highlighting mode
Ezhil (programming language): The following is a guessing game with 10-chances to guess a number between [1-100]
The following is a guessing game with 10-chances to guess a number between [1-100]
Ezhil (programming language): The following is a Turtle graphics based example to draw the Yin-Yang symbols
The following is a Turtle graphics based example to draw the Yin-Yang symbols

Worked examples

Example 1 — a first encounter with Ezhil (programming language)

Start with the simplest possible case. Write down what Ezhil (programming language) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Ezhil (programming language) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Ezhil (programming language) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Ezhil (programming language)

In research
Ezhil (programming language) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Ezhil (programming language) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Ezhil (programming language) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cross-platform software, Educational programming languages, Non-English-based programming languages, so understanding it makes those chapters shorter.
In everyday life
Look for Ezhil (programming language) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Ezhil (programming language)” →

How to study Ezhil (programming language) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ezhil (programming language) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Ezhil (programming language) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ezhil (programming language) in simple terms?

Ezhil, in Tamil language script (Tamil: எழில், romanized: Eḻil, lit. 'beauty', Tamil pronunciation: [eɻil̪]), is a compact, open source, interpreted, programming language, originally designed to enable native-Tamil speaking students, K-12 age-group to learn computer programming, and enable learning…

Why does Ezhil (programming language) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Ezhil (programming language)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Ezhil (programming language).

Tags

  • Cross-platform software
  • Educational programming languages
  • Non-English-based programming languages
  • Procedural programming languages
  • Programming languages created in 2007
  • Tamil computing

Keep exploring