Gob's Program serves as a demonstration of various important concepts in programming such as text formatting, processing user input and infinite loops. It has been implemented in as many languages as possible to serve as a useful resource for beginners and advanced programmers alike.
For information on contributing, please refer to the Gob's Program Wiki.
How I run?????
BBC BASIC
Gob's Program Project 10th Anniversary Special Edition!
Run Gob's Program interactively on a web-site page!
Or type it into your BBC Micro at home if you want, do whatever, I'm not your mum.
C++
$ g++ gobsprogram.cpp -o program $ ./program
Python
$ ./gobsprogram.py OR $ python gobsprogram.py
VBScript
double click it while using windows
Perl
OR
Ruby
$ ./gobsprogram.rb OR $ ruby gobsprogram.rb
Java
$ javac GobsProgram.java $ java GobsProgram
Emojicode
$ emojicodec gobsprogram.🍇 $ ./gobsprogram
PowerShell (lol)
PowerShell 5:
PS C:\Users\User> Set-ExecutionPolicy -Scope Process Unrestricted
PS C:\Users\User> .\gobsprogram.ps1
PowerShell 6 (Windows):
PS C:\Users\User> Set-ExecutionPolicy -Scope Process Unrestricted
PS C:\Users\User> Unblock-File gobsprogram-6.ps1
PS C:\Users\User> .\gobsprogram-6.ps1
PowerShell 6 (not Windows) (lol harder):
$ pwsh PS /home/user> .\gobsprogram-6.ps1
Golang
PHP
Scala
scalac gobsprogram.scala scala GobsProgram
Rust
rustc gobsprogram.rs ./gobsprogram
