Print the longest English word(s) that can be written with a Seven-segment display.
Based on Tom Scott's The Basics S2E1 and implemented in multiple languages.
These are the currently implemented languages:
- Awk
- Bash
- C
- C++
- C#
- CMake
- CoffeeScript
- Crystal
- D
- Dart
- Elixir
- Erlang
- Fennel
- Gawk
- Go
- Groovy
- Java
- JavaScript
- Julia
- Kotlin
- LiveScript
- Lua
- MySQL
- Nim
- Octave
- Pascal
- Perl
- Perl6
- PHP
- PostgreSQL
- PowerShell
- Python
- R
- Ruby
- Rust
- Scala
- Sh
- SQLite
- TypeScript
- Vala
- VimL
- Zsh
To add an implementation in a new language, or improve an existing implementation, check CONTRIBUTING.
Tests are included in t/tests.t
. To run them
(make test
) you will need perl
with the JSON::Parse
module, and a compiler/runtime environment for every language.
You can see the current benchmarks in BENCHMARKS.
To run your own benchmarks (make bench
) you will need hyperfine,
and a compiler/runtime environment for every language.
Licensed under GLWTPL.