Commit Graph

41 Commits

Author SHA1 Message Date
Vincent Batts 6bb1d12c09
go: bah, golang and nested modules
this aspect of golang modules is a mess. You can not have a top-level
`package main` that has its own go.mod, and then also export a
sub-directory that has its own go.mod for cleaner dependency imports by
outside importers.

So by removing this, you're subject to the top-level go.mod of the
project. Otherwise the top-level main.go needs to be moved to a nested
./cmd/emojisum/ directory, which is a break for any packagers. 😵

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-11-23 11:24:31 -05:00
Vincent Batts dddcd7a159
emoji: forgot to regen the files after airplane
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-11-23 11:10:02 -05:00
Vincent Batts 0d5677527f
emoji: use the "cute" airplane first
Ref: #37

Reported-by: Mariano Cano <mariano.cano@gmail.com> (@maraino)
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-11-23 11:08:14 -05:00
Vincent Batts 2012c2b45e
emoji: fix the "cute" snowflake
The first snowflake entry should've never been just `U+FE0F`, as that is
a modifier.

Ref: #37

Reported-by: Mariano Cano <mariano.cano@gmail.com> (@maraino)
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-11-23 11:08:14 -05:00
Vincent Batts 77735d28df
go: step into the module world
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2021-11-23 11:06:46 -05:00
Mariano Cano f2bce89bd0 Generate map_gen.go 2021-11-01 19:14:36 -07:00
Mariano Cano e2538e0443 Use Go 1.17 go:build comment 2021-11-01 19:13:49 -07:00
Mariano Cano 7bbcda6f9d Change template to generate simplified code 2021-11-01 19:12:03 -07:00
Jon Johnson 54e92ea8d0 Fix 🌑 and 👫
These had an extra space in their spec, which broke everything.
2021-05-26 14:07:16 -07:00
Vincent Batts cdca4cf09e
remove pointer references
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-11-02 08:44:48 -04:00
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 4ef81bbc82
Merge pull request #29 from emojisum/lowercase_url
Lowercase URL
2018-10-16 15:47:28 -04:00
Vincent Batts 901f45f2e1
emoji: generate the list.md
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-10-16 15:37:57 -04: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 a1c34a4637
emoji: update spec for combination unicode
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-10-16 15:27:44 -04:00
Vincent Batts 14c98e05f3
emoji: everything has a unicode point
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-10-16 15:13:30 -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 66cfb7c940
adding a few more
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-07-02 10:15:49 -04:00
Vincent Batts 6019ddbd13
emojimap: more codepoints
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 16:08:54 -05:00
Vincent Batts 50730ba449
emojimap: grouping like, and replacing with carousel
people holding hands are great, and need to be together.
replacing slot with carousel, per
https://github.com/emojisum/emojisum/issues/5#issuecomment-345282316

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 15:19:18 -05:00
Vincent Batts 20568df2ed
emojimap: more switcheroo
ref:
- https://github.com/emojisum/emojisum/issues/5#issuecomment-345301516
- https://github.com/emojisum/emojisum/issues/5#issuecomment-345350268

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 15:15:04 -05:00
Vincent Batts 3bb071a975
emojimap: axe 🐸 for 🥜
ref:
- https://github.com/emojisum/emojisum/issues/5#issuecomment-345283599
- https://github.com/emojisum/emojisum/issues/5#issuecomment-345349184

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 15:12:55 -05:00
Vincent Batts cc5dd612ec
emojimap: more codepoints
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 15:06:50 -05: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 8c91593519
emojimap: adding many more codepoints
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 11:04:04 -05:00
Vincent Batts 7406a78c69
emojimap: codepoint for another 18 emoji
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 10:40:04 -05:00
Vincent Batts 5f05be6e73
emojimap: :hurtrealbad: -> 🕵
Ref: #5

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 09:40:19 -05:00
Vincent Batts e55f1cc730
emojimap: :troll_face: -> 🤢
Ref: #5

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 09:36:01 -05:00
Vincent Batts 998a2f8244
emojimap: :finnadie: -> 😰
Ref: #5

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-11-17 09:27:58 -05:00
Vincent Batts 64ce4ea851
*: github org rename
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-10 10:48:38 -05:00
Samuel Munilla fe447070e2 Add Unicode Codepoints to Emoji Map
Fixes #8.
2017-02-10 09:54:03 -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 fdb51823d7
emoji: add a pretty list of the emoji
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 10:53:33 -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 aa14e6436d
emoji: clarify the desciption
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-02-07 09:53:06 -05:00
Vincent Batts 0dadbcccc4
emoji: correct wording for canonical URLs
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2016-12-13 14:28:52 -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