自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

世界上很好玩的6種表情符號(hào)編程語(yǔ)言

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

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

這些基于表情符號(hào)的語(yǔ)言大多是深?yuàn)W的編程語(yǔ)言( esoteric programming language),稱為esolang。然而,這些語(yǔ)言相對(duì)來(lái)說(shuō)比其他語(yǔ)言更容易理解。

esolang的定義是:

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

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

Emoji

Emoji使用一個(gè)預(yù)定義的表情符號(hào)列表來(lái)生成語(yǔ)言命令,這些表情符號(hào)可以作為標(biāo)志,Emoji是一個(gè)基于棧的語(yǔ)言。除了表情符號(hào)之外,其他所有字符都被視為字符。下面是在 Emoji 打印Hello World! 的代碼片段。

 

  1. 💬Hello, World!💬➡ 

輸出結(jié)果如下:

 

 

 

 

這是這個(gè)語(yǔ)言的文檔:

 

  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è)計(jì)語(yǔ)言,我們可以用表情符號(hào)來(lái)編碼,在 Emojicode,使用表情符號(hào)讓編程變得有趣。它是一種強(qiáng)類型編程語(yǔ)言。該語(yǔ)言的作者討厭隨機(jī)空指針異常,因此,在 Emojicode,所有的實(shí)例變量都需要初始化,否則就會(huì)拋出編譯錯(cuò)誤。

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

 

  1. 🏁 🍇 
  2.   😀 🔤Hello, World!🔤❗️ 
  3. 🍉  

輸出結(jié)果如下:

 

 

 

 

Emoji-gramming

Emoji-gramming是一個(gè)基于表情符號(hào)的深?yuàn)W的編程語(yǔ)言,這種語(yǔ)言總共有25個(gè)變量和4個(gè)命令,它們都由特定的表情符號(hào)表示。表情符號(hào)使用心型符號(hào)作為常量,例如:

 

  1. 💔 = 0 
  2. 💜 = 1 
  3. 💕 = 2 
  4. 💞 = 4 
  5. 💖 = 8 

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

 

  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

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

 

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

在 Emojicoders 中有兩個(gè)修飾符如下:

 

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

要打印參數(shù),該語(yǔ)言使用手表情符號(hào)(👋)作為輸出命令。每個(gè)命令都需要是新的一行?,F(xiàn)在,讓我們利用上述知識(shí),在 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è)計(jì)和創(chuàng)造的,不再使用表情符號(hào),而是使用表情字符來(lái)進(jìn)行編碼。下面是在 Emotinomicon 打印Hello,World! 的代碼片段。

 

  1. 😭!dlroW ,olleH😲⏪⏬⏩ 

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

 

  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編寫,它使用八個(gè)表情符號(hào)作為命令,根據(jù)語(yǔ)言設(shè)計(jì)者的說(shuō)法,它完全是內(nèi)存安全的。

下面是命令列表和它們的等價(jià)符號(hào)。

 

  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. 😂😂😂😂😂😂😂😂🌚🔥😂😂😂😂🌚🔥😂😂🔥😂😂😂🔥😂😂😂🔥😂💯💯💯💯💩🐸🔥😂🔥😂🔥💩🔥🔥😂🌚💯🐸💯💩🐸🔥🔥💞🔥💩💩💩💞😂😂😂😂😂😂😂💞💞😂😂😂💞🔥🔥💞💯💩💞💯💞😂😂😂💞💩💩💩💩💩💩💞💩💩💩💩💩💩💩💩💞🔥🔥😂💞🔥😂😂💞 

最后,祝你編程愉快,周末快樂(lè)!

責(zé)任編輯:華軒 來(lái)源: 艾小仙
相關(guān)推薦

2018-07-19 19:07:33

語(yǔ)言編程語(yǔ)言程序

2018-12-04 15:46:53

編程語(yǔ)言Python

2019-11-18 15:07:54

編程語(yǔ)言C#

2013-09-12 15:39:30

編程語(yǔ)言BANCStar

2025-03-13 00:35:00

2022-09-19 21:34:04

PHPFacebook語(yǔ)言

2013-09-16 11:12:51

編程環(huán)境開(kāi)發(fā)

2022-09-20 23:52:50

表情符號(hào)開(kāi)發(fā)面部識(shí)別

2024-06-18 11:48:23

2010-07-15 16:21:22

編程語(yǔ)言

2021-03-03 11:20:59

微信表情符號(hào)騰訊

2021-07-19 10:51:29

谷歌AndroidChrome OS

2023-02-28 08:59:47

PythonJavaJavaScript

2018-11-06 12:22:18

排序算法代碼

2022-02-15 10:50:57

Opera瀏覽器表情符號(hào)

2020-06-08 10:21:56

操作系統(tǒng)C語(yǔ)言Unix

2023-10-08 09:38:06

2013-05-08 09:38:28

InteropNetSDN網(wǎng)絡(luò)設(shè)備供應(yīng)商

2022-01-18 06:29:45

Windows 11操作系統(tǒng)微軟

2025-02-06 10:42:20

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)