TlhIngan

From Esolang
Jump to navigation Jump to search
The title of this article is not correct because of technical limitations. The correct title is actually .

For ease of use, I'm going to go ahead and use the wrong title.

This language also called .

tlhIngan is a language based on all kinds of bizarre symbols and words.

Syntax

Yeet. You can write as much as you like, I simply don't give a fsck.

Program(ASCII format)

Hello, world

|CQ#{Y*HPi'hvihMUWPV(<TOjlsg,({W)LITP\O:WC)#O:ir[ispououm'X(!P<U"PI~0q@:R|#Q)VRIPOJlHLSFHNSK:B

A+B Problem

J)({#MUPWN#RPCWBYEWORCNLDFEKHAEKDJ>SHEB>FLSDIJV?FOU"PUp9imsopntjco8hm:WL#%IVN:Wmp9u8oh7i4yOC@(U${)!L@c-]l9]+C#_}WKUtpo
i<)({W#I%VRWMit'mjslkfjvslknTLISK:FRJLHvgi;hiU$$IFOJVLJ>RSOEH:MRUVp;foeklvkp;yursinr'

99 bottles of beer

e5sxbm,o*E%W4,mxxxx54swBMse58moEVDrmnvRNJMdoe4sdGNMxemoinse54mo,SIE%m,5seMB*O<bse5wBM<OBE%SBmo,pES%xb,oA*ES%mop8es$omis45iPSm,bem,d,ma>NDSN^(,epae4^EWHP<(ARW%SP<A$SDBN<AME%(SBM<%ESaBVm,se%*(ESxb,m.p;de6n,P^asden<P>(^dep.{A^NE>p4de5n,.wq46E>D^E$,n64d9ap,.;[sade4,P>(N>4ed,dbn65,$AD%WM<badsPO5wL<MBna4w
yh7h6DBL$EI^D&S%oDEN5^DbMLE$O^DXbw4sexBD#BLXI$^wmbled4646ed42W&ow2hSY@E<ODP*JR$MH*N$WCG&H(CME&*NG(*&EmyYE97fyow849u,p49fumy47ghpfr

Program(锟斤拷 format)

Hello, world

龘齉爨靐亹麷麷麷麤龘麤邉鑪鼕鼙龘䶑鼙嚏攮馕麤龘龘𪚥龘盦麤灥厵鯓嘁鼕

A+B Problem

龘䶛䨻䎱㸞蚮䡶䴞䴝䯬䬛䰕㹚㱎䖘䵈䶁䘔䶑䘓鋱䩳䵷㒪䪉䉥䥸䝟䳮䟑䎘䫱䉷
䰯䕈䟐龘䶛䨻䎱㸞蚮䡶䴞䴝䯬䬛䰕㹚㱎䖘䵈䶁䘔䶑䘓鋱䩳䵷㒪䪉䉥䥸䝟䳮䟑
䎘䫱䉷䰯䕈䟐䬝䥰龘䰕䘋㽌䇁䵄䵻䬛蟿䆉㖀城龘䶛䨻䎱蚮䡶䴞䴝䯬䬛䰕㹚㱎
䖘䵈䶁䘔䶑䘓鋱䩳䵷㒪䪉䉥䥸䝟䳮䟑䎘䫱䉷䰯䕈䟐䬝龘䶛䨻䎱蚮䡶䴞䴝䯬䬛
䰕㹚䯬䬛䰕㹚䥸䝟龘䶛䨻蚮䡶䴞䴝䯬䬛䰕㹚㱎䖘饢蘿蘿靄饢靨爛驫寵灣龍贏
爨瘸驫

99 bottles of beer

焜猹帪璺宪锚姳孅莚业盋绾闲彳聓雁窩菢痸枡雵岿鍳荝雪婏掣壾程簩耓鮮旆缎稿钙髟渮鉿戴哖燴鐧帉钄媡驛礵燱罻删惤毼壇馘潹薫銱邘扔蔒钇犹羝繒咡禑忲箿燥沨勃篃厯饤熏譁戞甛崑囲諂鶛屩魯壩飖骾亀堨瞞沵叛浵枥驑污竄躪尅熋喙戈址話蚵橫赠豩袎鹁歵蒁茕閾蓅屃蕮鄑齾犠偛龡鷴畞艱嬉隨舰蕌袂羂濉偟範鄍愣犣麆襃怳駛壥嬦沕律蹉铅跞匄椖苹丣湷朽娉仯帥鏠譲疀俵騲濑勢敳熬怾鼶靻罔艬疗窡顙進眓鎗鿢桒刣綥璭獫褕滙庥儘蒟佶鵦郚積趯侾瓼逴鍬罅坢鈢鴏惲狊侱踝答铩葃紇梺欉廤沔崷襤孮嗕富戩曼簳韏隗飅谌风吕臘煓繈諐渀鮆巅扊忐蟩緿醄悈鷏磑澃耨獲苂旜糡银烃岻甹鎸暪嶙麶黩捓餠鞐勞虉墭萧欒佴純丗餲鮞韄齯铉觐秶苾瑆壹靁淟肊頇毞脳砢発鱳撙蓅铝羢氇殭皲騱梕幠邩艡挿籍貉侉孺姹堔镥碠鸶椊徹槿橄齄溡礞奈彋呃阿

Program(Human words)

Hello, world

Print "Hello, world!" and a new line.

A+B Problem

Input a and b and output a+b.

99 bottles of beer

Start a loop for bottles starting from 99 to 0.
Print the number of bottles, " bottles of beer on the wall,", a new line, the number of bottles, " bottles of beer.", a new line, "Take one down, pass it around,", a new line, the number of bottles subtracted by 1, " bottles of beer on the wall!" and a newline.
End the loop.

Program(UTF-8)

Hello, world

输出"Hello, world!"和一个换行符。

A+B Problem

输入两个整数,求出它们的和然后输出。

99 bottles of beer

'*rÇ܍;¯:ÄÝ£vó^îÐ#·ª,ˆqYÄ>Ùn3wÛÈ×û{Hnm~Þ2g~?³Ð>«=kñ%Fct6:ޒóϟñ×W4%'}IG8œnÕ'¢åz«ª,Œ17ò¿Ý~G,d…o;±20†“‰SÂÊcÀ|íù;¥‹.µÿóü;¶×¹ý€†ÐÕ!bottles of beer on the wall,dÉtWÎ+m$’ÿͳ½Ø×â’R@¾l½L?ŒÌ¸€ÔXƒ/>$#¿Ý|ý;Fþùü[¸«#à–´g7nÅ{–JŽƒºìxëY;'c_… bottles of beer.hó“µj(µã¸7· LŸõ’¸}Vfñ†"L³*.¢‚›!dÍk—¤#¼ÙºmÆÁE«;éßlâ¬H”¥nsQTake one down,^(Ô¸²ì7P5<<à/»üS- ¨Ýnöæ¸äš´µþ»'~î6åôÝ]Ý+¨%ÒNKPass it around,<vvP÷Û!¿4^çË?³^Hß²x@1*vÇnkcw<Íϓ0^¥á;¿Úz2åœÑ‡ýTÈõ̎T‹1Ñðq󀭃Ð&ù¸ÍEé*@{üûj?Ú2ŸšÙ £5ónYæacYiR“…õ-ïâ­½öI¨_ͦqZ9|ÄáôI¦äKºÿÕÌ\-ÙìPIÄ-» bottles of beer on the wall!wÄÊßî;p\ÞÊy´XmBë

Valid identifier

输入一个字符串,判断它是否为C/C++çš„åˆæ³•æ ‡è¯†ç¬¦ã€‚
如果是,输出"yes",否则,输出"no"。
C/C++åˆæ³•æ ‡è¯†ç¬¦è¦æ±‚ï¼š
1、不可以是保留字(如ifå°±æ˜¯ä¸€ä¸ªéžæ³•æ ‡è¯†ç¬¦ï¼‰ã€‚
2、只有字母、数字、下划线(如_example123å°±æ˜¯ä¸€ä¸ªåˆæ³•æ ‡è¯†ç¬¦ï¼Œè€Œ$money则不是。)。
3、不可以将数字作为开头(如1passwordå°±æ˜¯ä¸€ä¸ªéžæ³•æ ‡è¯†ç¬¦ï¼‰ã€‚