Sample Programs Versions Save

Sample Programs in Every Programming Language

150-lang-test

4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/125-lang-test...150-lang-test

125-lang-test

5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/100-lang-test...125-lang-test

75-lang-test

9 months ago

The commit amendments break the auto generation feature below, so there are many missing pull requests. Regardless, here are the newly tested languages:

  • Ballerina
  • Batch
  • Brainfuck
  • Carp
  • Crystal
  • Dg
  • Egison
  • Elvish
  • Eta
  • Fetlang
  • Frege
  • Gerbil
  • Golo
  • Grain
  • Gravity
  • Groovy
  • Prolog
  • V
  • Yoix
  • among others!

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/50-lang-test...75-lang-test

50-lang-test

1 year ago

In this release, we've managed to cover 50 different programming languages, with 25 new additions since October 2020:

  • Algol68
  • Chapel
  • Cobol
  • CoffeeScript
  • D
  • Emojicode
  • Euphoria
  • Koka
  • LOLCODE
  • Moonscript
  • OCaml
  • Phix
  • Powershell
  • R
  • Rust
  • Scheme
  • Smalltalk
  • and many more!

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/25-lang-test...50-lang-test

25-lang-test

3 years ago

In this release, we've managed to cover 25 different programming languages:

  • Bash
  • C
  • C++
  • C#
  • Clojure
  • Dart
  • Elixir
  • F#
  • FORTRAN
  • Go
  • Goby
  • Haskell
  • Java
  • JavaScript
  • Julia
  • Kotlin
  • Lisp
  • Lua
  • Nim
  • Pascal
  • Perl
  • PHP
  • Python
  • Ruby
  • Swift

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/25-proj-test...25-lang-test

25-proj-test

3 years ago

Since adding Glotter nearly a year ago, we've finally managed to piece together 25 project tests. Here's the list:

  • Baklava
  • BinarySearch
  • BubbleSort
  • Capitalize
  • ConvexHull
  • EvenOdd
  • Factorial
  • Fibonacci
  • FileIO
  • FizzBuzz
  • HelloWorld
  • InsertionSort
  • JobSequencing
  • LCS
  • LinearSearch
  • MergeSort
  • MST
  • Prime
  • QuickSort
  • Quine
  • ROT13
  • ReverseString
  • RomanNumeral
  • SelectionSort
  • SleepSort

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/500-snip...25-proj-test

500-snip

3 years ago

We've officially hit 500 snippets after almost two years! The following tables report a change of 258 snippets. In the future, I want to get something automated that gives us something more exact. That said, this'll do!

Languages That Start With A

Language # of Snippets
Abap 1
Ada 1
Agda 1
ALGOL68 1
Apex 2 (+2)
AppleScript 1
AutoHotKey 1 (+1)
Totals 8 (+3)

Languages That Start With B

Language # of Snippets
Ballerina 1
Bash 14 (+8)
Batch 1 (+1)
Befunge 3 (+1)
Boo 2 (+2)
Brainfuck 3
Totals 24 (+12)

Languages That Start With C

Language # of Snippets
C 23 (+12)
C++ 21 (+17)
C# 20 (+2)
C* 1
Carp 1
Chapel 1
Clipper 1
Clojure 4 (+3)
COBOL 1
CoffeeScript 3 (+2)
Crystal 3
Totals 79 (+36)

Languages That Start With D

Language # of Snippets
D 2
Dale 1
Dart 14 (+12)
Dg 5
Dusk 1
Totals 23 (+12)

Languages That Start With E

Language # of Snippets
Egison 1
Elena 1
Elixir 6 (+5)
Elm 1
Emojicode 1
Erlang 6 (+5)
Eve 1
Totals 17 (+10)

Languages That Start With F

Language # of Snippets
F# 2 (+1)
Factor 1
Felix 1
Fennel 1
Ferret 1
Fetlang 1
Formality 1 (+1)
Forth 1
FORTRAN 3 (+1)
Frege 1
Totals 13 (+3)

Languages That Start With G

Language # of Snippets
Gerbil 1 (+1)
Gluon 1
Go 22 (+15)
Goby 1
Golo 1
Google Apps Script 1
Gravity 1
Groovy 8 (+6)
Totals 36 (+22)

Languages That Start With H

Language # of Snippets
Hack 1
Haskell 21 (+2)
Totals 22 (+2)

Languages That Start With I

Language # of Snippets
Idris 1
Totals 1

Languages That Start With J

Language # of Snippets
Janet 1 (+1)
JavaScript 20 (+15)
Java 23 (+16)
Julia 7 (+3)
Totals 51 (+35)

Languages That Start With K

Language # of Snippets
Kitten 1
Koka 1
Kotlin 14 (+9)
Totals 16 (+9)

Languages That Start With L

Language # of Snippets
Lily 1
Lisp 6 (+4)
Little 1
Livescript 1 (+1)
Lobster 1 (+1)
Lolcode 2 (+1)
Lua 13 (+10)
Lucee 1 (+1)
Totals 26 (+18)

Languages That Start With M

Language # of Snippets
MATLAB 10 (+9)
Microsoft Macro Assembler 1 (+1)
Modula2 1 (+1)
MojiScript 1
MoonScript 1
Totals 14 (+11)

Languages That Start With N

Language # of Snippets
Never 2
Nim 3 (+2)
Totals 5 (+2)

Languages That Start With O

Language # of Snippets
Objective C 6 (+5)
OCAML 1
Octave 1
Odin 1
Opa 1
Orc 1
Owl Lisp 1
Totals 12 (+5)

Languages That Start With P

Language # of Snippets
P 1 (+1)
Pascal 2
Perl 14 (+11)
Perl6 1 (+1)
PHP 22 (+19)
PicoLisp 2
Pony 1
PowerShell 3
PureScript 1
Pyret 1
Python 32 (+12)
Totals 80 (+44)

Languages That Start With Q

Language # of Snippets
Quack 1
Totals 1

Languages That Start With R

Language # of Snippets
R 2 (+1)
Racket 4 (+3)
Red 1
Rexx 1
Ring 1
Ruby 9 (+2)
Rust 11 (+5)
Totals 29 (+11)

Languages That Start With S

Language # of Snippets
Sather 1 (+1)
Scala 8 (+6)
Scheme 3 (+1)
Shen 1
Smalltalk 1
Solidity 1
Solisp 4 (+4)
Swift 6 (+2)
Totals 25 (+14)

Languages That Start With T

Language # of Snippets
Tcl 1
Tex 2
TI-BASIC 1 (+1)
TypeScript 9 (+4)
Totals 13 (+5)

Languages That Start With V

Language # of Snippets
Verilog 2 (+1)
Vimscript 3
Visual Basic 4 (+2)
Totals 9 (+3)

Languages That Start With W

Language # of Snippets
Whitespace 1 (+1)
Wren 1
Wu 1
Wyvern 1
Totals 4 (+1)

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/25-project...500-snip

25-project

4 years ago

As is often the case with these milestones, I miss them—especially during Hacktoberfest. At this point, there are actually 27 projects. For the sake of completeness, I'll list them here.

  1. Baklava
  2. Bubble Sort
  3. Capitalize
  4. Convex Hull
  5. Even Odd
  6. Factorial
  7. Fibonacci
  8. File IO
  9. Fizz Buzz
  10. Fractions
  11. Game of Life
  12. Hello World
  13. Import/Export
  14. Insertion Sort
  15. Job Sequencing with Deadlines
  16. Longest Common Subsequence
  17. Longest Palindromic Substring
  18. Merge Sort
  19. Minimum Spanning Tree
  20. Prime Numbers
  21. Quick Sort
  22. Quine
  23. ROT-13
  24. Reverse a String
  25. Roman Numeral Conversion
  26. Selection Sort
  27. Sleep Sort

Here's to 25 more!

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/100-article...25-project

100-article

4 years ago

At this point in the repo, there are actually 101 articles, but I forgot to draft the release in the chaos of Hacktoberfest. At any rate, you can find the latest list of articles by language or by project.

For those who are interested in metrics, here's where we're at:

  • 322 code snippets
  • 209 stars
  • 188 forks
  • 113 languages
  • 101 articles
  • 12 watchers

Meanwhile, the top languages are:

  • Python (32.0%)
  • Haskell (10.2%)
  • C (9.0%)
  • C# (7.4%)
  • Go (7.2%)
  • C++ (5.9%)

At the moment, we're hoping to hit the 200 article goal by the end of 2020.

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/10-lang-test...100-article