Skip to content

Commit 175158a

Browse files
committed
Generated Sample Programs website automatically
on-behalf-of: @TheRenegadeCoder <[email protected]>
1 parent 5e6418e commit 175158a

File tree

7 files changed

+641
-54
lines changed

7 files changed

+641
-54
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ layout: default
55
title: Sample Programs in Every Language
66
---
77

8-
Welcome to Sample Programs in Every Language, a collection of code snippets in as many languages as possible. Thanks for taking an interest in our collection which currently contains 1560 articles written by 306 authors.
8+
Welcome to Sample Programs in Every Language, a collection of code snippets in as many languages as possible. Thanks for taking an interest in our collection which currently contains 1562 articles written by 306 authors.
99

1010
If you'd like to contribute to this growing collection, check out our [contributing document](https://github.com/TheRenegadeCoder/sample-programs/blob/master/.github/CONTRIBUTING.md) for more information. In addition, you can explore our documentation which is organized by [project](/projects) and by [language](/languages). If you don't find what you're look for, check out our list of related [open-source projects](/related). Finally, if code isn't your thing but you'd still like to help, there are plenty of other ways to [support the project](https://therenegadecoder.com/updates/5-ways-you-can-support-the-renegade-coder/).

docs/languages/index.md

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ layout: default
66
title: Programming Languages
77
---
88

9-
Welcome to the Languages page! Here, you'll find a list of all of the languages represented in the collection. At this time, there are 157 languages, of which 156 are tested, 1 is untestable, and 1365 code snippets.
9+
Welcome to the Languages page! Here, you'll find a list of all of the languages represented in the collection. At this time, there are 157 languages, of which 156 are tested, 1 is untestable, and 1367 code snippets.
1010

1111
## Language Breakdown
1212

@@ -18,175 +18,175 @@ Here are the percentages for each language in the collection:
1818

1919
<tr>
2020
<td class="right nowrap">Algol68</td>
21-
<td class="right">6.93%</td>
21+
<td class="right">6.86%</td>
2222
<td class="bar-graph"><div style="width: 100.00%; background-color: #AF425E;"></div></td>
2323
</tr>
2424

2525
<tr>
2626
<td class="right nowrap">Commodore Basic</td>
27-
<td class="right">6.84%</td>
27+
<td class="right">6.77%</td>
2828
<td class="bar-graph"><div style="width: 98.72%; background-color: #4F44D8;"></div></td>
2929
</tr>
3030

3131
<tr>
3232
<td class="right nowrap">Euphoria</td>
33-
<td class="right">6.06%</td>
33+
<td class="right">5.99%</td>
3434
<td class="bar-graph"><div style="width: 87.42%; background-color: #FF790B;"></div></td>
3535
</tr>
3636

3737
<tr>
3838
<td class="right nowrap">Beef</td>
39-
<td class="right">5.83%</td>
39+
<td class="right">5.77%</td>
4040
<td class="bar-graph"><div style="width: 84.19%; background-color: #A52F4E;"></div></td>
4141
</tr>
4242

4343
<tr>
44-
<td class="right nowrap">Pascal</td>
44+
<td class="right nowrap">M4</td>
4545
<td class="right">4.94%</td>
46+
<td class="bar-graph"><div style="width: 72.07%; background-color: #CCCCCC;"></div></td>
47+
</tr>
48+
49+
<tr>
50+
<td class="right nowrap">Pascal</td>
51+
<td class="right">4.89%</td>
4652
<td class="bar-graph"><div style="width: 71.34%; background-color: #E3F171;"></div></td>
4753
</tr>
4854

4955
<tr>
5056
<td class="right nowrap">Rust</td>
51-
<td class="right">4.32%</td>
57+
<td class="right">4.27%</td>
5258
<td class="bar-graph"><div style="width: 62.35%; background-color: #DEA584;"></div></td>
5359
</tr>
5460

5561
<tr>
5662
<td class="right nowrap">C</td>
57-
<td class="right">4.28%</td>
63+
<td class="right">4.24%</td>
5864
<td class="bar-graph"><div style="width: 61.81%; background-color: #555555;"></div></td>
5965
</tr>
6066

6167
<tr>
6268
<td class="right nowrap">Php</td>
63-
<td class="right">3.97%</td>
64-
<td class="bar-graph"><div style="width: 57.25%; background-color: #4F5D95;"></div></td>
65-
</tr>
66-
67-
<tr>
68-
<td class="right nowrap">M4</td>
6969
<td class="right">3.93%</td>
70-
<td class="bar-graph"><div style="width: 56.77%; background-color: #CCCCCC;"></div></td>
70+
<td class="bar-graph"><div style="width: 57.25%; background-color: #4F5D95;"></div></td>
7171
</tr>
7272

7373
<tr>
7474
<td class="right nowrap">C#</td>
75-
<td class="right">3.81%</td>
75+
<td class="right">3.77%</td>
7676
<td class="bar-graph"><div style="width: 54.95%; background-color: #178600;"></div></td>
7777
</tr>
7878

7979
<tr>
8080
<td class="right nowrap">Awk</td>
81-
<td class="right">3.49%</td>
81+
<td class="right">3.45%</td>
8282
<td class="bar-graph"><div style="width: 50.35%; background-color: #C30E9B;"></div></td>
8383
</tr>
8484

8585
<tr>
8686
<td class="right nowrap">C++</td>
87-
<td class="right">3.46%</td>
87+
<td class="right">3.43%</td>
8888
<td class="bar-graph"><div style="width: 50.01%; background-color: #F34B7D;"></div></td>
8989
</tr>
9090

9191
<tr>
9292
<td class="right nowrap">Mathematica</td>
93-
<td class="right">2.90%</td>
93+
<td class="right">2.87%</td>
9494
<td class="bar-graph"><div style="width: 41.89%; background-color: #DD1100;"></div></td>
9595
</tr>
9696

9797
<tr>
9898
<td class="right nowrap">Powershell</td>
99-
<td class="right">2.85%</td>
99+
<td class="right">2.83%</td>
100100
<td class="bar-graph"><div style="width: 41.20%; background-color: #012456;"></div></td>
101101
</tr>
102102

103103
<tr>
104104
<td class="right nowrap">Java</td>
105-
<td class="right">2.73%</td>
105+
<td class="right">2.70%</td>
106106
<td class="bar-graph"><div style="width: 39.41%; background-color: #B07219;"></div></td>
107107
</tr>
108108

109109
<tr>
110110
<td class="right nowrap">Tcl</td>
111-
<td class="right">2.62%</td>
111+
<td class="right">2.59%</td>
112112
<td class="bar-graph"><div style="width: 37.84%; background-color: #E4CC98;"></div></td>
113113
</tr>
114114

115115
<tr>
116116
<td class="right nowrap">Javascript</td>
117-
<td class="right">2.12%</td>
117+
<td class="right">2.10%</td>
118118
<td class="bar-graph"><div style="width: 30.64%; background-color: #F1E05A;"></div></td>
119119
</tr>
120120

121121
<tr>
122122
<td class="right nowrap">Go</td>
123-
<td class="right">2.06%</td>
123+
<td class="right">2.04%</td>
124124
<td class="bar-graph"><div style="width: 29.71%; background-color: #00ADD8;"></div></td>
125125
</tr>
126126

127127
<tr>
128128
<td class="right nowrap">Python</td>
129-
<td class="right">2.06%</td>
129+
<td class="right">2.03%</td>
130130
<td class="bar-graph"><div style="width: 29.67%; background-color: #3572A5;"></div></td>
131131
</tr>
132132

133133
<tr>
134134
<td class="right nowrap">Typescript</td>
135-
<td class="right">1.41%</td>
135+
<td class="right">1.39%</td>
136136
<td class="bar-graph"><div style="width: 20.32%; background-color: #3178C6;"></div></td>
137137
</tr>
138138

139139
<tr>
140140
<td class="right nowrap">Kotlin</td>
141-
<td class="right">1.36%</td>
141+
<td class="right">1.34%</td>
142142
<td class="bar-graph"><div style="width: 19.58%; background-color: #A97BFF;"></div></td>
143143
</tr>
144144

145145
<tr>
146146
<td class="right nowrap">Objective C</td>
147-
<td class="right">1.18%</td>
147+
<td class="right">1.17%</td>
148148
<td class="bar-graph"><div style="width: 17.05%; background-color: #438EFF;"></div></td>
149149
</tr>
150150

151151
<tr>
152152
<td class="right nowrap">Haskell</td>
153-
<td class="right">1.12%</td>
153+
<td class="right">1.10%</td>
154154
<td class="bar-graph"><div style="width: 16.11%; background-color: #5E5086;"></div></td>
155155
</tr>
156156

157157
<tr>
158158
<td class="right nowrap">Fortran</td>
159-
<td class="right">0.93%</td>
159+
<td class="right">0.92%</td>
160160
<td class="bar-graph"><div style="width: 13.47%; background-color: #4D41B1;"></div></td>
161161
</tr>
162162

163163
<tr>
164164
<td class="right nowrap">Perl</td>
165-
<td class="right">0.91%</td>
165+
<td class="right">0.90%</td>
166166
<td class="bar-graph"><div style="width: 13.09%; background-color: #0298C3;"></div></td>
167167
</tr>
168168

169169
<tr>
170170
<td class="right nowrap">X86 64</td>
171-
<td class="right">0.90%</td>
171+
<td class="right">0.89%</td>
172172
<td class="bar-graph"><div style="width: 12.95%; background-color: #6E4C13;"></div></td>
173173
</tr>
174174

175175
<tr>
176176
<td class="right nowrap">Ruby</td>
177-
<td class="right">0.88%</td>
177+
<td class="right">0.87%</td>
178178
<td class="bar-graph"><div style="width: 12.74%; background-color: #701516;"></div></td>
179179
</tr>
180180

181181
<tr>
182182
<td class="right nowrap">Gnu Make</td>
183-
<td class="right">0.88%</td>
183+
<td class="right">0.87%</td>
184184
<td class="bar-graph"><div style="width: 12.69%; background-color: #427819;"></div></td>
185185
</tr>
186186

187187
<tr>
188188
<td class="right nowrap">Brainfuck</td>
189-
<td class="right">0.81%</td>
189+
<td class="right">0.80%</td>
190190
<td class="bar-graph"><div style="width: 11.73%; background-color: #2F2530;"></div></td>
191191
</tr>
192192

@@ -198,13 +198,13 @@ Here are the percentages for each language in the collection:
198198

199199
<tr>
200200
<td class="right nowrap">Dart</td>
201-
<td class="right">0.72%</td>
201+
<td class="right">0.71%</td>
202202
<td class="bar-graph"><div style="width: 10.36%; background-color: #00B4AB;"></div></td>
203203
</tr>
204204

205205
<tr>
206206
<td class="right nowrap">Scala</td>
207-
<td class="right">0.67%</td>
207+
<td class="right">0.66%</td>
208208
<td class="bar-graph"><div style="width: 9.66%; background-color: #C22D40;"></div></td>
209209
</tr>
210210

@@ -216,7 +216,7 @@ Here are the percentages for each language in the collection:
216216

217217
<tr>
218218
<td class="right nowrap">Octave</td>
219-
<td class="right">0.64%</td>
219+
<td class="right">0.63%</td>
220220
<td class="bar-graph"><div style="width: 9.25%; background-color: #E16737;"></div></td>
221221
</tr>
222222

@@ -228,7 +228,7 @@ Here are the percentages for each language in the collection:
228228

229229
<tr>
230230
<td class="right nowrap">Swift</td>
231-
<td class="right">0.59%</td>
231+
<td class="right">0.58%</td>
232232
<td class="bar-graph"><div style="width: 8.51%; background-color: #F05138;"></div></td>
233233
</tr>
234234

@@ -246,25 +246,25 @@ Here are the percentages for each language in the collection:
246246

247247
<tr>
248248
<td class="right nowrap">Julia</td>
249-
<td class="right">0.40%</td>
249+
<td class="right">0.39%</td>
250250
<td class="bar-graph"><div style="width: 5.73%; background-color: #A270BA;"></div></td>
251251
</tr>
252252

253253
<tr>
254254
<td class="right nowrap">Erlang</td>
255-
<td class="right">0.40%</td>
255+
<td class="right">0.39%</td>
256256
<td class="bar-graph"><div style="width: 5.70%; background-color: #B83998;"></div></td>
257257
</tr>
258258

259259
<tr>
260260
<td class="right nowrap">Lisp</td>
261-
<td class="right">0.37%</td>
261+
<td class="right">0.36%</td>
262262
<td class="bar-graph"><div style="width: 5.30%; background-color: #3FB68B;"></div></td>
263263
</tr>
264264

265265
<tr>
266266
<td class="right nowrap">Ti Basic</td>
267-
<td class="right">0.34%</td>
267+
<td class="right">0.33%</td>
268268
<td class="bar-graph"><div style="width: 4.86%; background-color: #A0AA87;"></div></td>
269269
</tr>
270270

@@ -372,7 +372,7 @@ Here are the percentages for each language in the collection:
372372

373373
<tr>
374374
<td class="right nowrap">Red</td>
375-
<td class="right">0.10%</td>
375+
<td class="right">0.09%</td>
376376
<td class="bar-graph"><div style="width: 1.38%; background-color: #F50000;"></div></td>
377377
</tr>
378378

@@ -450,7 +450,7 @@ Here are the percentages for each language in the collection:
450450

451451
<tr>
452452
<td class="right nowrap">Batch</td>
453-
<td class="right">0.07%</td>
453+
<td class="right">0.06%</td>
454454
<td class="bar-graph"><div style="width: 0.94%; background-color: #C1F12E;"></div></td>
455455
</tr>
456456

@@ -666,7 +666,7 @@ Here are the percentages for each language in the collection:
666666

667667
<tr>
668668
<td class="right nowrap">Befunge</td>
669-
<td class="right">0.04%</td>
669+
<td class="right">0.03%</td>
670670
<td class="bar-graph"><div style="width: 0.51%; background-color: #CCCCCC;"></div></td>
671671
</tr>
672672

@@ -1171,9 +1171,9 @@ The 'L' collection contains 9 languages, of which 9 are tested, and 43 code snip
11711171

11721172
### M
11731173

1174-
The 'M' collection contains 7 languages, of which 6 are tested, 1 is untestable, and 80 code snippets.
1174+
The 'M' collection contains 7 languages, of which 6 are tested, 1 is untestable, and 82 code snippets.
11751175

1176-
- [M4](https://sampleprograms.io/languages/m4) (31 code snippets)
1176+
- [M4](https://sampleprograms.io/languages/m4) (33 code snippets)
11771177
- [Malbolge](https://sampleprograms.io/languages/malbolge) (2 code snippets)
11781178
- [Mathematica](https://sampleprograms.io/languages/mathematica) (36 code snippets, [untestabled](https://github.com/TheRenegadeCoder/sample-programs/blob/main/archive/m/mathematica/untestable.yml))
11791179
- [Mirth](https://sampleprograms.io/languages/mirth) (2 code snippets)

docs/languages/m4/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ No 'Description' section available. [Please consider contributing](https://githu
2626

2727
## Articles
2828

29-
There are 31 articles:
29+
There are 33 articles:
3030

3131
- [Baklava in M4](https://sampleprograms.io/projects/baklava/m4)
3232
- [Binary Search in M4](https://sampleprograms.io/projects/binary-search/m4)
3333
- [Bubble Sort in M4](https://sampleprograms.io/projects/bubble-sort/m4)
3434
- [Capitalize in M4](https://sampleprograms.io/projects/capitalize/m4)
35+
- [Convex Hull in M4](https://sampleprograms.io/projects/convex-hull/m4)
3536
- [Depth First Search in M4](https://sampleprograms.io/projects/depth-first-search/m4)
37+
- [Dijkstra in M4](https://sampleprograms.io/projects/dijkstra/m4)
3638
- [Duplicate Character Counter in M4](https://sampleprograms.io/projects/duplicate-character-counter/m4)
3739
- [Even Odd in M4](https://sampleprograms.io/projects/even-odd/m4)
3840
- [Factorial in M4](https://sampleprograms.io/projects/factorial/m4)

docs/projects/convex-hull/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
date: 2019-10-22
33
featured-image: convex-hull-in-every-language.jpg
4-
last-modified: 2025-10-08
4+
last-modified: 2025-11-14
55
layout: default
66
tags:
77
- convex-hull
@@ -98,7 +98,7 @@ Usage: please provide at least 3 x and y coordinates as separate lists (e.g. "10
9898

9999
## Articles
100100

101-
There are 16 articles:
101+
There are 17 articles:
102102

103103
- [Convex Hull in Algol68](https://sampleprograms.io/projects/convex-hull/algol68)
104104
- [Convex Hull in Awk](https://sampleprograms.io/projects/convex-hull/awk)
@@ -109,6 +109,7 @@ There are 16 articles:
109109
- [Convex Hull in Euphoria](https://sampleprograms.io/projects/convex-hull/euphoria)
110110
- [Convex Hull in Java](https://sampleprograms.io/projects/convex-hull/java)
111111
- [Convex Hull in Javascript](https://sampleprograms.io/projects/convex-hull/javascript)
112+
- [Convex Hull in M4](https://sampleprograms.io/projects/convex-hull/m4)
112113
- [Convex Hull in Mathematica](https://sampleprograms.io/projects/convex-hull/mathematica)
113114
- [Convex Hull in Pascal](https://sampleprograms.io/projects/convex-hull/pascal)
114115
- [Convex Hull in Php](https://sampleprograms.io/projects/convex-hull/php)

0 commit comments

Comments
 (0)