Skip to content

Commit d232baa

Browse files
authored
Merge pull request #36 from UniversalPython/migrate-to-pyprojecttoml
feat: add emoji language
2 parents 25ff0bd + c84f9d1 commit d232baa

5 files changed

Lines changed: 60 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
funktion haupt():
2-
drucken("Hallo Welt.")
2+
ausgeben("Hallo Welt.")
33
hallo = 1
4-
zurück 0
4+
zurückgeben 0
55

66
haupt()
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This is a programming language based off of emojis, inspired by The Emoji Language.
2+
3+
References:
4+
- Reddit post: https://www.reddit.com/r/conlangs/comments/1asduh9/the_emoji_language_a_brief_overview/
5+
- Grammar: https://docs.google.com/document/d/1YEFsgDvfFnO3lX72fh8tB8NgvG1n0OnM0sy3vXieEMw/edit?tab=t.0
6+
7+
Motivated by some conversations at EuroPython 2025.

universalpython/languages/emoji/__init__.py

Whitespace-only changes.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
letters:
2+
start : "a"
3+
end : "z"
4+
extra : "öüıçşğÖÜİÇŞĞ"
5+
6+
numbers:
7+
start : "0"
8+
end : "9"
9+
10+
reserved:
11+
"." : "⚫️⚫️"
12+
"," : ","
13+
"1" : "1"
14+
"2" : "2"
15+
"3" : "3"
16+
"4" : "4"
17+
"5" : "5"
18+
"6" : "6"
19+
"7" : "7"
20+
"8" : "8"
21+
"9" : "9"
22+
"0" : "0"
23+
"🖨️": "print"
24+
"➡️❓": "elif"
25+
"": "if"
26+
"➡️": "else"
27+
"🔄": "while"
28+
"🔁": "for"
29+
"🔍": "in"
30+
"⌨️": "input"
31+
"⏹️": "break"
32+
"⏭️": "continue"
33+
"": "pass"
34+
"": "True"
35+
"": "False"
36+
"🟰": "is"
37+
"🏛️": "class"
38+
"🔧": "def"
39+
"🏁": "__init__"
40+
"👤": "self"
41+
"↩️": "return"
42+
"📜": "string"
43+
"🔤": "str"
44+
"": "append"
45+
"": "pop"
46+
"": "and"
47+
"": "or"
48+
"": "all"
49+
"": "any"
50+
"": "None"
51+
"🔢": "int"

0 commit comments

Comments
 (0)