日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
世界上很好玩的6種表情符號編程語言

 誰能想到我們最喜歡的表情符號可以用來設(shè)計新的編程語言?聰明有才華的人已經(jīng)想象并開發(fā)出了成熟的編程語言,我們可以用它來編寫表情符號和表情符號。

創(chuàng)新互聯(lián)公司是少有的成都網(wǎng)站建設(shè)、網(wǎng)站設(shè)計、營銷型企業(yè)網(wǎng)站、微信小程序定制開發(fā)、手機APP,開發(fā)、制作、設(shè)計、外鏈、推廣優(yōu)化一站式服務網(wǎng)絡公司,自2013年起,堅持透明化,價格低,無套路經(jīng)營理念。讓網(wǎng)頁驚喜每一位訪客多年來深受用戶好評

這些基于表情符號的語言大多是深奧的編程語言( esoteric programming language),稱為esolang。然而,這些語言相對來說比其他語言更容易理解。

esolang的定義是:

Esolang 不是為普通的軟件開發(fā)目的而設(shè)計的。他們只是是作為一個概念的證明或者就是一個笑話。

如果你想了解世界上最難的語言,你可以看看我的另一篇文章。讓我們看看這五種可以使用表情符號和表情符號來編程的語言。

Emoji

Emoji使用一個預定義的表情符號列表來生成語言命令,這些表情符號可以作為標志,Emoji是一個基于棧的語言。除了表情符號之外,其他所有字符都被視為字符。下面是在 Emoji 打印Hello World! 的代碼片段。

 
 
 
 
  1. Hello, World! 

輸出結(jié)果如下:

這是這個語言的文檔:

 
 
 
 
  1. : Read until the next  and puts that string onto the stack 
  2. : Reads until the next  and puts that string onto the stack (can be nested, meant for storing functions) 
  3. : Prints a value from the stack 
  4. : Puts True onto the stack 
  5. : Puts False onto the stack 
  6. : Inverts a boolean value from the stack 
  7. : Adds two numbers from the stack 
  8. : Multiplies two numbers from the stack 
  9. : Subtracts two numbers from the stack 
  10. : Divides two numbers from the stack 
  11. : Divides two numbers from the stack, returns the remainder 
  12. : Rounds a number to the nearest integer 
  13. : Rounds down a number from the stack 
  14. : Rounds up a number from the stack 
  15. : Converts a number to a hex string 
  16. : Converts a string to a number 
  17. : Checks if two numbers are equal 
  18. : Checks if a number is less than another 
  19. : Checks if a number is greater than another 
  20. : Takes a boolean from the stack.  If false, skips to the next . 
  21. : If the last  did not skip past stuff, skip to the next . 
  22. : Takes two strings from the stack.  Runs the first, takes a boolean.  If true, runs the second and repeats. 
  23. : Duplicates a stack entry 
  24. : Converts a character to its character code 
  25. : Converts a character code to its character 
  26. : Takes two objects, saves the first to a variable identified by the second 
  27. : Takes an object, returns the value from the variable by that name 
  28. : Returns the length of a string or array from the stack 
  29. : Takes a string and two numbers.  Returns the substring from the string from the first number (inclusive) to the second number (exclusive). 
  30. : Evaluates a string 
  31. : Creates an empty array. 
  32. : Takes an array and an object.  Adds the object to the end of the array.  Does not return anything, you'll want to use variables with this. 
  33. : Takes an array or string and an index.  Returns the value at that index. 
  34. : Swaps two elements on the stack. 
  35. : Capitalize a string. 
  36. : Change a string to lowercase. 

Emojicode

Emojicode是一種面向?qū)ο蟪绦蛟O(shè)計語言,我們可以用表情符號來編碼,在 Emojicode,使用表情符號讓編程變得有趣。它是一種強類型編程語言。該語言的作者討厭隨機空指針異常,因此,在 Emojicode,所有的實例變量都需要初始化,否則就會拋出編譯錯誤。

下面是在 Emojicode 打印Hello World! 的代碼片段。

 
 
 
 
  1.   
  2.    Hello, World!? 
  3.   

輸出結(jié)果如下:

Emoji-gramming

Emoji-gramming是一個基于表情符號的深奧的編程語言,這種語言總共有25個變量和4個命令,它們都由特定的表情符號表示。表情符號使用心型符號作為常量,例如:

 
 
 
 
  1.  = 0 
  2.  = 1 
  3.  = 2 
  4.  = 4 
  5.  = 8 

麥克風()符號表示輸入,揚聲器()符號表示打印輸出,好像很有道理的樣子?下面是打印“ Hello,World! ”的代碼片段表情符號:

 
 
 
 
  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  

輸出結(jié)果如下:

Emojicoder

這是一個用特定的表情符號表示命令和參數(shù)的符號系統(tǒng),二進制值0和1在 Emojicoder 定義了各自的表情符號。

 
 
 
 
  1. =0 
  2. =1 
  3.  = 01001000 = H 

在 Emojicoders 中有兩個修飾符如下:

 
 
 
 
  1. : Ascii Character 0-255 
  2. : Integer Number 0-255 

要打印參數(shù),該語言使用手表情符號()作為輸出命令。每個命令都需要是新的一行?,F(xiàn)在,讓我們利用上述知識,在 Emojicoder 打印出Hello,World! 。

 
 
 
 
  1.  //Output H 
  2.  //Output e 
  3.  //Output l 
  4.  //Output l 
  5.  //Output o 
  6.  //Output , 
  7.  //Output space 
  8.  //Output w 
  9.  //Output o 
  10.  //Output r 
  11.  //Output l 
  12.  //Output d 
  13.  //Output ! 

輸出結(jié)果如下:

Emotinomicon

Emotinomicon 是由康納 · 奧布萊恩設(shè)計和創(chuàng)造的,不再使用表情符號,而是使用表情字符來進行編碼。下面是在 Emotinomicon 打印Hello,World! 的代碼片段。

 
 
 
 
  1. !dlroW ,olleH??? 

下面是上面代碼片段的解釋,它可以幫助你嘗試執(zhí)行任何其他字符串,并獲得一些樂趣。

 
 
 
 
  1. begin quote string 
  2. !dlroW ,olleH 
  3. end quote string 
  4. ?open loop 
  5. ?pops and outputs top of stack as character 
  6. ?close loop 

輸出結(jié)果如下:

Emotifuck

Emotifuck使用Rust編寫,它使用八個表情符號作為命令,根據(jù)語言設(shè)計者的說法,它完全是內(nèi)存安全的。

下面是命令列表和它們的等價符號。

 
 
 
 
  1.  - Move Right (>) 
  2.  - Move Left (<) 
  3.  - Decrement (-)[might have been better as output command ;)] 
  4.  - Increment (+) 
  5.  - Output (.) 
  6.  - Input (,) 
  7.  - Jump Forward ([) 
  8.  - Jump Backward (]) 

Hello World! 的代碼如下。

 
 
 
 
  1.  

最后,祝你編程愉快,周末快樂!


標題名稱:世界上很好玩的6種表情符號編程語言
本文網(wǎng)址:http://www.5511xx.com/article/ccesegh.html