Commit Graph

11 Commits

Author SHA1 Message Date
Vincent Batts f0d758ab5f
emoji: adding a helper to parse a hex string into codepoint
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-10-22 15:19:50 +01:00
Vincent Batts b3393a60a1
emoji: the URL needs to be lowercase to work
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-10-16 15:37:29 -04:00
Vincent Batts cc9cb5d099
emoji: fix merged unicode
for several of the emoji "words", they are a union of unicode points.
Like flags are the two letters together. Female Detective is a number of
connected symbols. This representation needs to be alltogether.

With this update the unicode points are joined, and require spliting on
the "U+". To help with this and be useful as a library there is a
function `emoji.CodepointToUnicode(string) string` to do this now.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-10-16 14:38:00 -04:00
Vincent Batts 9e38b5a8bb
emoji: a couple of flags (it's the letters)
This needs a fix to the representation of combined unicodes. Perhaps
every item in the list needs to be a list of lists? or just to split the
string?

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-10-15 13:26:41 -04:00
Vincent Batts 043174f418
list: link unicode codepoint the full list
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 11:30:07 -05:00
Vincent Batts 7fea20724b
main: make the Map use the first colon notation
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 14:30:57 -05:00
Vincent Batts a9e159d830
emoji: fix the template output for markdown
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 14:09:07 -05:00
Vincent Batts 0a1c501226
emoji: don't need to `go generate`
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 10:35:55 -05:00
Vincent Batts 62919c069f
emoji: provide options for each position
Per https://github.com/vbatts/emojisum/issues/5 there are some options
in this list that are better expressed as a unicode codepoint.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 10:17:50 -05:00
Vincent Batts 3efa665df0
emoji: more of a draft of a convention
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-12-13 14:19:18 -05:00
Vincent Batts 2332d1260c
emoji: make the list an independent doc
during this draft phase, the authoritative document for the ordering of
the emoji needs to be consumable by other languages and as a library.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-12-13 13:21:15 -05:00