Skip to content

Commit 0117cc7

Browse files
author
Tom Clark
committed
Added more type information to hello world
1 parent f976447 commit 0117cc7

File tree

1 file changed

+35
-53
lines changed

1 file changed

+35
-53
lines changed

pages/hello-world.md

Lines changed: 35 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ int main()
109109
{% endhighlight %}
110110
</section>
111111

112-
<section class="tutorial" markdown="1" data-facets='{"Language": "C#"}'>
112+
<section class="tutorial" markdown="1" data-facets='{"Language": "C#", "Type System": ["Static", "Dynamic"]}'>
113113
C#
114114
--
115115

@@ -126,7 +126,7 @@ class HelloWorld
126126
{% endhighlight %}
127127
</section>
128128

129-
<section class="tutorial" markdown="1" data-facets='{"Language": "Clojure", "VM": "JVM"}'>
129+
<section class="tutorial" markdown="1" data-facets='{"Language": "Clojure", "Type System": ["Dynamic", "Semi-Strong"], "VM": "JVM"}'>
130130
Clojure
131131
-------
132132

@@ -154,7 +154,7 @@ ColdFusion
154154
{% endhighlight %}
155155
</section>
156156

157-
<section class="tutorial" markdown="1" data-facets='{"Language": "Common Lisp"}'>
157+
<section class="tutorial" markdown="1" data-facets='{"Language": "Common Lisp", "Type System": "Dynamic"}'>
158158
Common Lisp
159159
-----------
160160

@@ -176,7 +176,7 @@ or
176176

177177
</section>
178178

179-
<section class="tutorial" markdown="1" data-facets='{"Language": "Cython"}'>
179+
<section class="tutorial" markdown="1" data-facets='{"Language": "Cython", "Type System": ["Dynamic", "Semi-Strong"]}'>
180180
Cython
181181
------
182182

@@ -267,7 +267,16 @@ Fancy
267267
{% endhighlight %}
268268
</section>
269269

270-
<section class="tutorial" markdown="1" data-facets='{"Language": "Fortran"}'>
270+
<section class="tutorial" markdown="1" data-facets='{"Language": "F#", "Type System": "Static"}'>
271+
F#
272+
--
273+
274+
{% highlight fsharp %}
275+
print_endline "Hello, World!"
276+
{% endhighlight %}
277+
</section>
278+
279+
<section class="tutorial" markdown="1" data-facets='{"Language": "Fortran", "Type System": "Static"}'>
271280
Fortran
272281
-------
273282

@@ -278,16 +287,7 @@ END
278287
{% endhighlight %}
279288
</section>
280289

281-
<section class="tutorial" markdown="1" data-facets='{"Language": "F#"}'>
282-
F#
283-
--
284-
285-
{% highlight fsharp %}
286-
print_endline "Hello, World!"
287-
{% endhighlight %}
288-
</section>
289-
290-
<section class="tutorial" markdown="1" data-facets='{"Language": "Groovy", "VM": "JVM"}'>
290+
<section class="tutorial" markdown="1" data-facets='{"Language": "Groovy", "Type System": "Dynamic", "VM": "JVM"}'>
291291
Groovy
292292
------
293293

@@ -296,7 +296,7 @@ println "Hello, World"
296296
{% endhighlight %}
297297
</section>
298298

299-
<section class="tutorial" markdown="1" data-facets='{"Language": "Haskell"}'>
299+
<section class="tutorial" markdown="1" data-facets='{"Language": "Haskell", "Type System": "Static"}'>
300300
Haskell
301301
-------
302302

@@ -329,7 +329,7 @@ public class HelloWorld {
329329
{% endhighlight %}
330330
</section>
331331

332-
<section class="tutorial" markdown="1" data-facets='{"Language": "JavaScript"}'>
332+
<section class="tutorial" markdown="1" data-facets='{"Language": "JavaScript", "Type System": "Dynamic"}'>
333333
JavaScript
334334
----------
335335

@@ -338,15 +338,6 @@ document.write('Hello, World!');
338338
{% endhighlight %}
339339
</section>
340340

341-
<section class="tutorial" markdown="1" data-facets='{"Language": "JRuby", "Type System": "Dynamic", "VM": "JVM"}'>
342-
JRuby
343-
-----
344-
345-
{% highlight ruby %}
346-
puts "Hello, World!"
347-
{% endhighlight %}
348-
</section>
349-
350341
<section class="tutorial" markdown="1" data-facets='{"Language": "Logtalk"}'>
351342
Logtalk
352343
-------
@@ -356,7 +347,7 @@ Logtalk
356347
{% endhighlight %}
357348
</section>
358349

359-
<section class="tutorial" markdown="1" data-facets='{"Language": "Lua"}'>
350+
<section class="tutorial" markdown="1" data-facets='{"Language": "Lua", "Type System": "Dynamic"}'>
360351
Lua
361352
---
362353

@@ -365,7 +356,7 @@ print "Hello, World!"
365356
{% endhighlight %}
366357
</section>
367358

368-
<section class="tutorial" markdown="1" data-facets='{"Language": "Matlab"}'>
359+
<section class="tutorial" markdown="1" data-facets='{"Language": "Matlab", "Type System": "Dynamic"}'>
369360
Matlab
370361
------
371362

@@ -457,7 +448,7 @@ echo("Hello, World!")
457448
{% endhighlight %}
458449
</section>
459450

460-
<section class="tutorial" markdown="1" data-facets='{"Language": "Objective-C"}'>
451+
<section class="tutorial" markdown="1" data-facets='{"Language": "Objective-C", "Type System": "Static"}'>
461452
Objective-C
462453
-----------
463454

@@ -481,7 +472,7 @@ document.write("Hello, World!");
481472
{% endhighlight %}
482473
</section>
483474

484-
<section class="tutorial" markdown="1" data-facets='{"Language": "Octave"}'>
475+
<section class="tutorial" markdown="1" data-facets='{"Language": "Octave", "Type System": "Dynamic"}'>
485476
Octave
486477
------
487478

@@ -490,7 +481,7 @@ printf("Hello, World!\n");
490481
{% endhighlight %}
491482
</section>
492483

493-
<section class="tutorial" markdown="1" data-facets='{"Language": "OCaml"}'>
484+
<section class="tutorial" markdown="1" data-facets='{"Language": "OCaml", "Type System": "Static"}'>
494485
OCaml
495486
-----
496487

@@ -499,7 +490,7 @@ print_string "Hello, World!\n"
499490
{% endhighlight %}
500491
</section>
501492

502-
<section class="tutorial" markdown="1" data-facets='{"Language": "Perl", "Type System": "Dynamic"}'>
493+
<section class="tutorial" markdown="1" data-facets='{"Language": "Perl", "Type System": ["Semi-Static", "Dynamic"]}'>
503494
Perl
504495
----
505496

@@ -508,7 +499,7 @@ print "Hello, World!\n";
508499
{% endhighlight %}
509500
</section>
510501

511-
<section class="tutorial" markdown="1" data-facets='{"Language": "PHP"}'>
502+
<section class="tutorial" markdown="1" data-facets='{"Language": "PHP", "Type System": "Dynamic"}'>
512503
PHP
513504
---
514505

@@ -556,7 +547,7 @@ Write-Host 'Hello, World!`n'
556547
{% endhighlight %}
557548
</section>
558549

559-
<section class="tutorial" markdown="1" data-facets='{"Language": "Prolog"}'>
550+
<section class="tutorial" markdown="1" data-facets='{"Language": "Prolog", "Type System": "Dynamic"}'>
560551
Prolog
561552
------
562553

@@ -574,9 +565,9 @@ print "Hello, World!"
574565
{% endhighlight %}
575566
</section>
576567

577-
<section class="tutorial" markdown="1" data-facets='{"Language": "R"}'>
578-
R
579-
-
568+
<section class="tutorial" markdown="1" data-facets='{"Language": ["R", "S", "S-Plus"]}'>
569+
R and S and S-Plus
570+
------------------
580571

581572
{% highlight r %}
582573
cat("Hello, World!\n")
@@ -611,32 +602,23 @@ hello dat 72, 101 ; He
611602
{% endhighlight %}
612603
</section>
613604

614-
<section class="tutorial" markdown="1" data-facets='{"Language": "Reia", "VM": "Erlang"}'>
605+
<section class="tutorial" markdown="1" data-facets='{"Language": "Reia", "Type System": "Dynamic", "VM": "Erlang"}'>
615606
Reia
616607
----
617608

618609
"Hello, World!".puts()
619610
</section>
620611

621-
<section class="tutorial" markdown="1" data-facets='{"Language": "Ruby", "Type System": "Dynamic"}'>
622-
Ruby
623-
----
612+
<section class="tutorial" markdown="1" data-facets='{"Language": ["Ruby", "JRuby"], "Type System": "Dynamic", "VM": "JVM"}'>
613+
Ruby and JRuby
614+
--------------
624615

625616
{% highlight ruby %}
626617
puts "Hello, World!"
627618
{% endhighlight %}
628619
</section>
629620

630-
<section class="tutorial" markdown="1" data-facets='{"Language": "S-Plus"}'>
631-
S-Plus
632-
------
633-
634-
{% highlight s %}
635-
cat("Hello, World!\n")
636-
{% endhighlight %}
637-
</section>
638-
639-
<section class="tutorial" markdown="1" data-facets='{"Language": "Scala", "VM": "JVM"}'>
621+
<section class="tutorial" markdown="1" data-facets='{"Language": "Scala", "Type System": "Static", "VM": "JVM"}'>
640622
Scala
641623
-----
642624

@@ -667,7 +649,7 @@ Scilab
667649
{% endhighlight %}
668650
</section>
669651

670-
<section class="tutorial" markdown="1" data-facets='{"Language": "Smalltalk"}'>
652+
<section class="tutorial" markdown="1" data-facets='{"Language": "Smalltalk", "Type System": "Dynamic"}'>
671653
Smalltalk
672654
---------
673655

@@ -688,7 +670,7 @@ End
688670
{% endhighlight %}
689671
</section>
690672

691-
<section class="tutorial" markdown="1" data-facets='{"Language": "Tcl", "Type System": "Weak"}'>
673+
<section class="tutorial" markdown="1" data-facets='{"Language": "Tcl", "Type System": ["Dynamic", "Weak"]}'>
692674
Tcl
693675
---
694676

0 commit comments

Comments
 (0)