LoginSignup
29
22

More than 5 years have passed since last update.

話題の எழில் という言語

Last updated at Posted at 2016-07-02

なにそれ

これ。
タミル語のプログラミング言語っぽいです。
英名は「Ezhil-Lang」

とりあえず触ろう

環境構築

git cloneします。

git clone https://github.com/Ezhil-Language-Foundation/Ezhil-Lang.git
cd Ezhil-Lang 
ezhili --help

おっと、怒られました。
インタプリタがなんちゃらって話らしいです(?)

Incomplete Ezhil interpreter installation;
    FATAL ERROR: No module named tamil
Missing installation of open-tamil library.
Get latest version of open-tamil library using Python Package index as
    $ pip install open-tamil

言われた通りpipでインストールします

pip install open-tamil
nagimaru-no-MacBook-Air:Ezhil-Lang nagimaru$ ezhili --help
usage: எழில் [-h] [-debug] [-tamilencoding TAMILENCODING] [-profile] [-stdin]
             [-stacksize STACKSIZE]
             [files [files ...]]

positional arguments:
  files

optional arguments:
  -h, --help            show this help message and exit
  -debug                enable debugging information on screen
  -tamilencoding TAMILENCODING
                        option to specify other file encodings; supported
                        encodings are TSCII, and UTF-8
  -profile              profile the input file(s)
  -stdin                read input from the standard input
  -stacksize STACKSIZE  default stack size for the Interpreter

お、次は出来たみたいです。環境構築はとりあえずこれで終了。
必要であればPATHは通しましょう

Hello World

hello.nを作り以下のように記述します
(僕はPATH通してないので /Ezhil-Lang の直下に置きました)

hello.n
பதிப்பி "Hello,World"

ターミナルで$ ezhili hello.nを実行

nagimaru-no-MacBook-Air:Ezhil-Lang nagimaru$ ezhili hello.n
Hello,World!

出来た!!!これは謎の感動!!

どうやら対話モードも使えるようです

nagimaru-no-MacBook-Air:Ezhil-Lang nagimaru$ ezhili
எழில் - ஒரு தமிழ் நிரலாக்க மொழி (Fri Nov 20 08:00:00 EST 2015)
Ezhil : A Tamil Programming Language - version 0.81, (C) 2007-2015
Type "help", "copyright", "credits" or "license" for more information.
எழில் 1>> 1 + 2 + 3  
6
எழில் 2>> 2 * 3
6
எழில் 3>> பதிப்பி "Hello,World!"
Hello,World!
None
எழில் 4>> Num = 5
5
எழில் 5>> Num
5
எழில் 6>> exit()
******* வணக்கம்! பின்னர் உங்களை  பார்க்கலாம். *******

感想

キーボードでタミル語が打てないと開発は厳しい

29
22
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
29
22