Re:The Shen programming language
by jstepien on Sunday October 16, 2011 @11:07AM
(#3117440)
The first thing I'd like to see on a programming language's website is a handful of short examples, like on http://ruby-lang.org. In this case examples are hidden a bit deeper: http://shenlanguage.org/Documentation/Tutorials/Shen-in-15mi...
[ Parent
| on HN ]
Re:The Shen programming language
by michaelcampbell on Sunday October 16, 2011 @11:32AM
(#3117492)
I agree with your point, but ruby-lang.org has precisely one:
puts "Hello World!"
Which I'd say is more someone trying to be cute (or pro-forma) than trying to show off the language to the curious.But, I guess that's subjective.
Wait, but that's not true. It has a full-fledged class definition, instantiation, and method call.
Yes. I believe they're shown randomly and they're cached so we might see different examples.
Re:The Shen programming language
by michaelcampbell on Sunday October 16, 2011 @05:52PM
(#3118406)
D'oh; all I get is the puts statement with 15 lines of comments.
Apologies.
There are also a few extended examples on his blog:
Red-black trees http://jng.imagine27.com/articles/2011-06-28-141124_purely_f...
FFT http://jng.imagine27.com/articles/2011-07-06-164206_purely_f...