Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

spawnfest/beamoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

91 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸͺ„

Build Status Hex pm

▢️

✍️

{deps, [beamoji]}
{project_plugins, [beamoji]}.

⏭

$ rebar3 emojify

πŸ‘·

$ rebar3 compile

βœ…

$ rebar3 test

🀌

πŸŽ…

'πŸ‘οΈ'(P, [H | T]) ->
    case P(H) of
        'βœ”οΈ' ->
            {'βš–οΈ', H};
        '❌' ->
            'πŸ‘οΈ'(P, T)
    end;
'πŸ‘οΈ'(P, []) ->
    '❌'.

πŸ”£

'πŸ†˜πŸ‘€πŸŽπŸŒˆπŸ’ΏοΈβ€οΈ'(P, [H | T]) ->
    case P(H) of
        'πŸ¦–πŸŒˆπŸ¦„πŸ‘€' ->
            {'βœŒοΈπŸŽπŸ¦™πŸ¦„πŸ‘€', H};
        'πŸ”₯πŸŽπŸ¦™πŸ†˜πŸ‘€' ->
            'πŸ†˜πŸ‘€πŸŽπŸŒˆπŸ’ΏοΈβ€οΈ'(P, T)
    end;
'πŸ†˜πŸ‘€πŸŽπŸŒˆπŸ’ΏοΈβ€οΈ'(P, []) ->
    'πŸ”₯πŸŽπŸ¦™πŸ†˜πŸ‘€'.

πŸ§ͺ

rebar3 new lib name=beamojilib
cd ./beamojilib/
echo "" >> rebar.config
echo '{project_plugins, [beamoji]}.' >> rebar.config
wget https://raw.githubusercontent.com/spawnfest/beamoji/%E2%93%82%EF%B8%8F/test/beamoji_roundtrip_SUITE_data/emojifyme.erl -O src/emojifyme.erl
head -n 25 src/emojifyme.erl
rebar3 emojify
# or
# rebar3 emojify --translator beamoji_baseemoji_translator
head -n 25 src/emojifyme.erl
rebar3 shell
emojifyme:sum([1, 2, 3, 4]).

🧩

https://quiz.elixircards.co.uk/BEAMoji


πŸͺ–πŸ€”πŸ„β€β™€οΈπŸ§™β€β™‚οΈβ‰οΈ

πŸͺ–: πŸ‡¦πŸ‡· πŸ§’ πŸ•ΉοΈ ⏩ πŸ–₯️ πŸ€“ 🌍

πŸ€”: πŸ‡ͺπŸ‡Έ πŸ•ΉοΈ 🎸 πŸ–₯️ πŸ“š 🌍

πŸ„β€β™€οΈ: πŸ’» 🌊 πŸ‘ͺ 🐰 πŸ—ƒοΈ

πŸ§™β€β™‚οΈ: πŸ§’ πŸ’Ύ ⏩ πŸ’» ✍️ πŸ—£οΈ πŸ“