Giter VIP home page Giter VIP logo

observeroftime / 7segmentdisplays Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 4.0 1.5 MB

What's the longest word you can write with seven-segment displays?

Home Page: https://observeroftime.github.io/7SegmentDisplays/

License: Other

Shell 9.40% C++ 6.09% CoffeeScript 3.34% Java 7.22% JavaScript 3.75% Kotlin 4.18% LiveScript 3.95% Python 3.30% Scala 4.85% TypeScript 4.00% Go 5.07% Awk 7.42% C# 6.08% CMake 3.65% D 5.12% Groovy 3.09% Pascal 6.48% R 3.01% Perl 6.77% PowerShell 3.24%
tom-scott seven-segment-display example-code multilanguage benchmarks hacktoberfest

7segmentdisplays's Introduction

7SegmentDisplays build

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.

Languages

These are the currently implemented languages:

To add an implementation in a new language, or improve an existing implementation, check CONTRIBUTING.

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. To run your own benchmarks (make bench) you will need hyperfine, and a compiler/runtime environment for every language.

Credits

TODO

License

Licensed under GLWTPL.

7segmentdisplays's People

Contributors

daktyl198 avatar joaoluisro avatar jyunri avatar krmbzds avatar nimah79 avatar observeroftime avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

7segmentdisplays's Issues

Implement more languages

Some languages I'd like to implement if possible:

  • Ada
  • Arturo
  • Boo
  • Brat
  • Clojure
  • Cobra
  • CLISP
  • Crystal
  • Elixir
  • Erlang
  • Euphoria
  • F#
  • Factor
  • Fantom
  • Flix
  • Frink
  • Genie
  • Gleam
  • Gosu
  • Hack
  • Haskell
  • HolyC
  • Io
  • J
  • Janet
  • Julia
  • newLISP
  • OCaml
  • Objeck
  • Objective-C
  • Phix
  • PHP
  • PureScript
  • Racket
  • ReasonML
  • ReScript
  • Scheme
  • Sidef
  • Squirrel
  • Swift
  • Tcl
  • Zkl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.