Emojicode is available for macOS and Linux at: https://www.emojicode.org/docs/guides/install.html.
docker build -t primes .
docker run --rm primes
Passes: 18, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 18, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 19, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 18, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 19, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 17, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 19, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 18, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 19, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
Passes: 18, Time: 5, Avg: 0, Limit: 1000000, Count1: 78498, Count2: 78498
WOW, I can't believe I did this. It took me about 4 hours to write this from scratch; although it looks exciting, coding with emojis can give you a headache. Nevertheless is a fascinating language; since it's still in beta, there are quite a few limitations:
- There is no break/continue on loops. I had to simulate one for this implementation.
- Due to the unusual syntax, you can make mistakes very easily.
Tudor Marghidanu https://marghidanu.com/