Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Langauges] எழுதி #135

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

skytomo221
Copy link
Member

@skytomo221 skytomo221 commented Jul 15, 2020

எழுதி の追加

தமிழ் நிரல் எழுது 🔨

மூல குறியீடு - ソースコード

நிரல்பாகம் then()
    பின்கொடு "then"
முடி

நிரல்பாகம் ஸ்எ()
    பின்கொடு ""
முடி 

பதிப்பி then(),then(),then(),ஸ்எ()
  • எழுதி では நிரல்பாகம் の名前を「世」にすることができないため、ほとんど同じ音価である"ஸ்எ"を使っています。
  • எழுதி ではメソッドチェーンができません
  • そこで எழுதி では சிறப்பு சொற்கள் である பதிப்பி வாக்கியம் を使っていかにもメソッドチェーンのようなコードにしています。

実行方法

PowerShell

$ chcp 65001
$ ezhili .\RADWIMPS.n
then then then 世

導入方法

  1. ezhillang.orgからダウンロード
  2. 解凍ファイルのezhiliフォルダにあるezhil.exeで実行
  3. எழுதி専用のIDEで実行したい場合はezhuthiフォルダのezhuthi.exeをクリックすることで実行することができます

வெளி இணைப்புகள் - 外部リンク

言語の仕様書は導入方法でダウンロードしてきたフォルダの直下にあるBook-Write-Code-In-Tamil-2015.pdfです。
とても詳しく書かれているため、最も参考になる文書です。
それ以外にも役立つ動画やサイトがあるので、紹介します。

@skytomo221 skytomo221 requested a review from a team as a code owner July 15, 2020 11:56
RADWIMPS.n Outdated
முடி

நிரல்பாகம் ஸ்எ()
பின்கொடு "世"
Copy link
Sponsor Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

タミル語読めないから憶測での話になるのだけど、改行出力する感じではなさそう……?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

僕としたことが致命的な見落としをしていました。

前
前
前
世

と出力されるように変更します。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

前前前世 と出力したあと一つだけ改行してください🙏

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RADWIMPS.n Outdated Show resolved Hide resolved
RADWIMPS.n Outdated Show resolved Hide resolved
skytomo221 and others added 2 commits July 17, 2020 10:59
Co-authored-by: Naoki Ikeguchi <root@siketyan.dev>
Co-authored-by: Naoki Ikeguchi <root@siketyan.dev>
@skytomo221
Copy link
Member Author

skytomo221 commented Jul 17, 2020

前前前世+改行」という感じで出力しようと試みていますが,
この問題を解決するには少し時間がかかるかもしれません.
というのも,タミル語はスペースで単語を区切るので,

நிரல்பாகம் then()
    பின்கொடு ""
முடி 

நிரல்பாகம் ஸ்எ()
    பின்கொடு ""
முடி

பதிப்பி then(),then(),then(),ஸ்எ()

とすると,
前 前 前 世というふうに文字ごとにスペースが挿入されてしまいます.
பதிப்பி "foo", "boo", "foo"fooboofooではなくfoo boo fooと出力される)

こうならないようにソースコードを変える必要があるのですが,
逆に,改行せずに出力する構文(つまり改行しない版のபதிப்பி句)または関数がஎழுதிにはないみたいで(もしかしたら見落としているだけかもしれないけど),

நிரல்பாகம் then()
    [ここに改行しない出力構文または関数] ""
முடி

நிரல்பாகம் ஸ்எ()
    பதிப்பி ""
முடி

then() then() then() ஸ்எ()

のように書くこともできません.
ちょっと仕様書を読んできます. 📖

@KisaragiEffective KisaragiEffective marked this pull request as draft March 29, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants