7SegmentDisplays
Print the longest English word(s) in dwyl/english-words
that can be written with a Seven-segment display.
Based on Tom Scott's The Basics S2E1
and implemented in multiple languages.
Languages
These are the currently implemented languages:
- Awk
- Bash
- C#
- C++
- CMake
- C
- CoffeeScript
- D
- Dart
- Delphi
- Gawk
- Go
- Groovy
- JavaScript
- Java
- Kotlin
- LiveScript
- MySQL
- Nim
- Pascal
- Perl6
- Perl
- PowerShell
- Python2
- Python3
- Python
- R
- Ruby
- Rust
- SQLite
- Scala
- Sh
- TypeScript
- VimL
- Zsh
To add an implementation in a new language, or improve an existing implementation, check CONTRIBUTING.md.
Tests
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.
Benchmarks
You can see the current benchmarks in BENCHMARKS.md.
To run your own benchmarks (make bench
) you will need hyperfine,
and a compiler/runtime environment for every language.
Credits
TODO
- More languages.
License
Licensed under GLWTPL.