You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emoji is a Unicode Char
Emojis are considered characters on the web and in digital text. They are encoded as part of the Unicode standard. In Unicode, emojis have their own code points, just like letters, numbers, and special characters. For example, the emoji 😊 has the Unicode code point U+1F60A.
When you include an emoji in a text message, email, tweet, or any other form of digital text, it is treated as a single character, even though it may visually appear more complex than a letter or number. However, it’s worth noting that some emojis are made up of multiple Unicode code points, such as emojis that combine a base emoji with a skin tone modifier.
The syntax :unicorn: (🦄) is a type of short code used by certain platforms and applications to represent emojis. This particular syntax, where an emoji is represented by a short string of text enclosed in colons, is commonly used in Slack, GitHub, Discourse, and some other communication and collaboration tools. Microsoft Teams use (unicorn) format.
Syntax in ZenUML
The syntax :unicorn: is almost universally used. However, it does not work well in our DSL. : is too important to be used for this non-essential feature. For example,
It will not only confuse the DSL parser, but will definitely confuse the users.
To support ZenUML, we will add emoji support to the following areas:
Participant Name
Message including parameters
Conditions for Alt and Loop fragment
Divider notes
Comments
Syntax must support two ways of embedding emojis: 1. use the emoji directly like 🏅; 2. use shortcut (e.g. :medal_sports:).
Participant Name
Participant declaration
":unicorn:OrderService"
Considerations
The main challenge in implementing this is to resolve ambiguity between an emoji and an async message which also use :.
An async message is like: A->B:async message. An emoji can be used like ":unicorn:A"->":butterfly:B": :cry: some more messages.
Questions
1. Are emojis considered a modifier or part of the element?
If you have a participant ":unicorn:OrderService", is the participant's name OrderService or :unicorn:OrderService? Further more, does :unicorn:OrderService equal to 🦄OrderService?
The text was updated successfully, but these errors were encountered:
Context
Emoji is a Unicode Char
Emojis are considered characters on the web and in digital text. They are encoded as part of the Unicode standard. In Unicode, emojis have their own code points, just like letters, numbers, and special characters. For example, the emoji 😊 has the Unicode code point U+1F60A.When you include an emoji in a text message, email, tweet, or any other form of digital text, it is treated as a single character, even though it may visually appear more complex than a letter or number. However, it’s worth noting that some emojis are made up of multiple Unicode code points, such as emojis that combine a base emoji with a skin tone modifier.
The syntax
:unicorn:
(🦄) is a type of short code used by certain platforms and applications to represent emojis. This particular syntax, where an emoji is represented by a short string of text enclosed in colons, is commonly used in Slack, GitHub, Discourse, and some other communication and collaboration tools. Microsoft Teams use(unicorn)
format.Syntax in ZenUML
The syntax
:unicorn:
is almost universally used. However, it does not work well in our DSL.:
is too important to be used for this non-essential feature. For example,How about other formats?
/
/unicorn/
\
\unicorn\
$
$unicorn$
\::\
\:unicorn:\
[]
[unicorn]
It will not only confuse the DSL parser, but will definitely confuse the users.
To support ZenUML, we will add emoji support to the following areas:
Syntax must support two ways of embedding emojis: 1. use the emoji directly like
🏅
; 2. use shortcut (e.g.:medal_sports:
).Participant Name
Participant declaration
":unicorn:OrderService"
Considerations
The main challenge in implementing this is to resolve ambiguity between an emoji and an async message which also use
:
.An async message is like:
A->B:async message
. An emoji can be used like":unicorn:A"->":butterfly:B": :cry: some more messages
.Questions
1. Are emojis considered a modifier or part of the element?
If you have a participant
":unicorn:OrderService"
, is the participant's nameOrderService
or:unicorn:OrderService
? Further more, does:unicorn:OrderService
equal to🦄OrderService
?The text was updated successfully, but these errors were encountered: