from Hacker News

Show HN: Turn JavaScript code into Emoji using Webpack

by mechazawa on 7/13/17, 1:06 PM with 5 comments

  • by haburka on 7/13/17, 2:05 PM

    This should be the industry standard for uglifying js. I would love to inspect source of websites and find out that everything is an emoji.
  • by vesinisa on 7/13/17, 2:29 PM

    Heh, this is quite funny. By quick reading, it seems to just encode the input JavaScript source bytes into emoji. A further development idea would be to parse the input file with one of the JavaScript JavaScript parsers, encode only select keywords, operators and number / string constants in emoji and leave the rest as as-is.

    One could select clever emoji for the keywords (eg. if=pondering face, while=ferris wheel etc.) to produce a kind of shortened visual JavaScript emoji syntax.

  • by danesparza on 7/13/17, 2:11 PM

    I love that the question of 'WHY?!' is asked and answered on their Github project page.
  • by runnr_az on 7/18/17, 10:07 PM

    I work on an emoji-related project and always joke about the whole stack being emoji. Now, i can be soooo serious about it.

    Uhhh... thx?