Sample Programs Versions Save

Sample Programs in Every Programming Language

10-lang-test

5 years ago

Since launching the testing framework a few days ago, we've added support for the following 10 languages:

  • Bash
  • C++
  • Go
  • Java
  • JavaScript
  • Julia
  • Haskell
  • Perl
  • Python
  • Ruby

In total, that's 267 unit tests which currently span the following 10 projects:

  • Baklava
  • Even/Odd
  • Factorial
  • Fizz Buzz
  • Hello World
  • Job Sequencing
  • Longest Common Subsequence
  • Quine
  • Reverse String
  • Sorting

Looking forward to many more!

What's Changed

New Contributors

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

250-snip

5 years ago

As we ring in the new year, it's time to share the latest release of the Sample Programs repo. Today, we've hit 250 code snippets; a feat which took us over 9 months to accomplish. The following table lists all the languages and any changes to those languages since the last release:

Index Language # of Snippets # of Articles
1 Abap 1 0
2 Ada 1 0
3 Agda 1 0
4 ALGOL68 1 0
5 AppleScript 1 0
6 Ballerina 1 0
7 Bash 6 1
8 Befunge 2 1
9 Brainfuck 3 2 (+1)
10 C 11 2 (+1)
11 C# 18 (+11) 2 (+1)
12 C* 1 2 (+2)
13 C++ 4 2
14 Carp 1 0
15 Chapel 1 0
16 Clipper 1 0
17 Clojure 1 (+1) 0
18 COBOL 1 0
19 CoffeeScript 1 (+1) 0
20 Crystal 3 1
21 Dart 2 2 (+1)
22 Dale 1 0
23 D 2 1
24 Dg 5 0
25 Dusk 1 (+1) 0
26 Elixir 1 1
27 Emojicode 1 0
28 Egison 1 0
29 Elm 1 1
30 Elena 1 0
31 Eve 1 0
32 Erlang 1 0
33 Factor 1 0
34 Felix 1 0
35 Fennel 1 (+1) 0
36 Ferret 1 0
37 Fetlang 1 0
38 Forth 1 0
39 FORTRAN 2 0
40 F# 1 0
41 Frege 1 0
42 Gluon 1 (+1) 0
43 Go 7 1
44 Goby 1 0
45 Golo 1 0
46 Google Apps Script 1 2 (+1)
47 Gravity 1 0
48 Groovy 2 0
49 Haskell 19 (+5) 1
50 Hack 1 1
51 Idris 1 0
52 JavaScript 5 1
53 Java 7 (+2) 2
54 Julia 4 1
55 Koka 1 2 (+1)
56 Kotlin 5 1
57 Kitten 1 0
58 Lily 1 0
59 Lolcode 1 0
60 Lua 3 2 (+1)
61 Lisp 2 1
62 Little 1 0
63 MoonScript 1 2 (+1)
64 MojiScript 1 0
65 MATLAB 1 2 (+1)
66 Never 2 0
67 Nim 1 0
68 Owl Lisp 1 0
69 Orc 1 0
70 Opa 1 2 (+1)
71 Objective C 1 1
72 OCAML 1 0
73 Octave 1 0
74 Odin 1 0
75 PHP 3 1
76 PowerShell 3 3 (+1)
77 Pascal 2 1
78 Perl 3 1
79 PicoLisp 2 1
80 Pony 1 0
81 PureScript 1 (+1) 0
82 Pyret 1 0
83 Python 20 (+9) 6 (+2)
84 Quack 1 0
85 Racket 1 1
86 Red 1 2 (+1)
87 Rexx 1 0
88 Ring 1 0
89 Ruby 7 2
90 Rust 6 2 (+1)
91 R 1 2 (+1)
92 Solidity 1 2 (+1)
93 Swift 4 2
94 Shen 1 0
95 Scala 2 1
96 Scheme 2 3 (+2)
97 Smalltalk 1 0
98 Tcl 1 0
99 Tex 2 0
100 TypeScript 5 0
101 Vimscript 3 0
102 Verilog 1 0
103 Visual Basic 2 0
104 Wren 1 1
105 Wu 1 0
106 Wyvern 1 0
Totals 250 69

Keep in mind that we're in the middle of transitioning the articles from The Renegade Coder to the GitHub pages site, so the article totals here may may not match up with the previous release.

What's Changed

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/compare/100-lang...250-snip

100-lang

5 years ago

Thanks to everyone that has helped out since this project launched on March 15th, 2018. Today marks the first of many releases related to various milestones (i.e. # of languages, # of articles, # of code snippets, etc.). In the following table, you'll find out more about the 100 languages included in this release.

Index Language # of Snippets # of Articles
1 Agda 1 0
2 Abap 1 0
3 ALGOL68 1 0
4 Ada 1 0
5 AppleScript 1 0
6 Bash 6 1
7 Befunge 2 1
8 Brainfuck 3 1
9 Ballerina 1 0
10 C++ 4 2
11 Crystal 3 1
12 COBOL 1 0
13 C* 1 0
14 C# 7 1
15 C 11 1
16 Carp 1 0
17 Chapel 1 0
18 Clipper 1 0
19 Dart 2 1
20 Dale 1 0
21 D 2 1
22 Dg 5 0
23 Elixir 1 1
24 Emojicode 1 0
25 Egison 1 0
26 Elm 1 1
27 Elena 1 0
28 Eve 1 0
29 Erlang 1 0
30 Fetlang 1 0
31 Ferret 1 0
32 Felix 1 0
33 Forth 1 0
34 FORTRAN 2 0
35 F# 1 0
36 Factor 1 0
37 Frege 1 0
38 Gravity 1 0
39 Goby 1 0
40 Google Apps Script 1 1
41 Go 7 1
42 Groovy 2 0
43 Golo 1 0
44 Haskell 14 1
45 Hack 1 1
46 Idris 1 0
47 JavaScript 5 1
48 Java 5 2
49 Julia 4 1
50 Koka 1 1
51 Kotlin 5 1
52 Kitten 1 0
53 Lily 1 0
54 Lolcode 1 0
55 Lua 3 1
56 Lisp 2 1
57 Little 1 0
58 MoonScript 1 1
59 MojiScript 1 0
60 MATLAB 1 1
61 Nim 1 0
62 Never 2 0
63 Owl Lisp 1 0
64 Orc 1 0
65 Opa 1 1
66 Objective C 1 1
67 OCAML 1 0
68 Octave 1 0
69 Odin 1 0
70 PHP 3 1
71 Python 11 4
72 PowerShell 3 2
73 Pascal 2 1
74 Pony 1 0
75 PicoLisp 2 1
76 Perl 3 1
77 Pyret 1 0
78 Quack 1 0
79 Rust 6 1
80 Ring 1 0
81 Rexx 1 0
82 Red 1 1
83 Ruby 7 2
84 R 1 1
85 Racket 1 1
86 Solidity 1 1
87 Swift 4 2
88 Shen 1 0
89 Scala 2 1
90 Scheme 2 1
91 Smalltalk 1 0
92 Tcl 1 0
93 Tex 2 0
94 TypeScript 5 0
95 Vimscript 3 0
96 Verilog 1 0
97 Visual Basic 2 0
98 Wren 1 1
99 Wu 1 0
100 Wyvern 1 0
Totals 217 57

What's Changed

New Contributors

Full Changelog: https://github.com/TheRenegadeCoder/sample-programs/commits/100-lang