Skip to content

Keith-S-Thompson/hodor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Hodor is a special-purpose language specifically created to support a solution of the FizzBuzz problem. There are probably other programming languages called Hodor. This one is mine.

Turing-completeness was not a design goal, and I haven't bothered to figure out whether the language is Turing-complete or not. If it isn't, it could probably be made so.

References:

There are currently 24 valid tokens in the language, each of them a variant of the word "hodor" with variations in case.

Each token is translated to a particular string, and the result is fed to a Ruby interpreter. The set of supported tokens was chosen specifically to support a single Ruby program that implements FizzBuzz. Other Hodor programs can also be written, but only if they happen to use only the 24 supported tokens. (The language could be extended to support up to 32 tokens.)

The interpreter is implemented as a Perl script, which also serves as the language definition.

More references:

About

The Hodor programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages