Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
draegtun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
271.
▲
by
draegtun
13y ago
I wouldn't view Rebol as a Lisp++ but rather something that's inspired by but interestingly different yet simpler to grasp to Lisp. > Should I revisit it again some day? I'm probably not the best person to ask here becau
272.
▲
by
draegtun
13y ago
Another language with a simple grammar and partially inspired by Forth & Lisp is Rebol... $ rebol >> price: 99 == 99 >> either price > 100 [10] [5] == 5 >> ;;; and even more interesting is...
273.
▲
by
draegtun
13y ago
Perl's autobox is lexical so it is also not a global change . For eg. use 5.016; use warnings; { use autobox; use autobox::DateTime::Duration; say 2->days->ago; # 2013-12-27T14:03:47 (stringified
274.
▲
by
draegtun
13y ago
Yes but the link to the Youtube video isn't provided in his post :)
275.
▲
by
draegtun
13y ago
Here's the video of the Pittsburgh Perl Workshop talk this post was mostly a rehash of - http://www.youtube.com/watch?v=lp2z_ZbLE_I
276.
▲
by
draegtun
13y ago
Same problem happens with Rebol which often get categorised as R on Github (both share .r extension). some ref: https://github.com/search?l=R&q=rebol | https://github.com/search?l=R&q=rebol&type=
277.
▲
by
draegtun
13y ago
>Common Lisp has multiple return values and it's quite useful: Ditto for Perl: sub f { 1..$_[0] } my ($x) = f(12); # $x = first value, rest are dropped ... my ($x, $y) = f(12); # $x & $y have fir
278.
▲
Asynchronous Programming: Promises and Channels
(perl6advent.wordpress.com)
4 points
by
draegtun
13y ago
|
0 comments
279.
▲
by
draegtun
13y ago
Also see: The problem with OOL is not the OO by Carl Sassenrath (from 2009) - http://www.rebol.com/article/0425.html PS. Just submitted to HN - https://news.ycombinator.com/item?id=6900426
280.
▲
The problem with OOL is not the OO (Carl Sassenrath | 2009)
(rebol.com)
5 points
by
draegtun
13y ago
|
0 comments
281.
▲
by
draegtun
13y ago
These days I try and use Named Capture Buffers where feasible to make my regex code much easier to understand & update. For eg. Here is one way I would do the first example shown (using Perl this time): use 5.016; use warnings;
282.
▲
Why Rebol, Red, and the Parse dialect are Cool
(hostilefork.com)
2 points
by
draegtun
13y ago
|
0 comments
283.
▲
by
draegtun
13y ago
Io comes with Actors built-in - http://iolanguage.org/scm/io/docs/IoGuide.html#Concurrency-A... Perl has an experimental Actor model library threads::lite - https://metacpan.org/pod/thr
284.
▲
by
draegtun
13y ago
If you're writing a lot of one-liners that use multiple modules then you may want to consider something like App::MyPerl - https://metacpan.org/pod/App::MyPerl
285.
▲
by
draegtun
13y ago
What decay? The Perl community still continues to grow - https://news.ycombinator.com/item?id=6738619
286.
▲
by
draegtun
13y ago
Perl6 also has unicode operators - https://news.ycombinator.com/item?id=4942377
287.
▲
by
draegtun
13y ago
For reference, a parser for Newick string/format comes with the Bio::Phylo Perl CPAN module - https://metacpan.org/release/Bio-Phylo
288.
▲
by
draegtun
13y ago
>Does weiss == weiß ? You need a case folding function/method to check for this. For eg. in Perl, see the fc function - http://perldoc.perl.org/functions/fc.html fc("weiss") eq fc("weiß&q
289.
▲
by
draegtun
13y ago
Checkout Camping (Ruby) & Squatting (Perl). Both are web microframeworks that aim (when minimised) to fit at or under 4K characters. Here's the squashed versions of... - Camping (currently 4.031 kb over 55 lines) - https:
290.
▲
by
draegtun
13y ago
It's an oldie but I still use Template Toolkit for building most of my static websites - http://www.template-toolkit.org/
291.
▲
by
draegtun
13y ago
Two other OSes that were influenced by the AmigaOS were AtheOS and then a later fork of this called Syllable. refs: http://en.wikipedia.org/wiki/AtheOS | http://atheos.syllable.org/index.html | http:
292.
▲
by
draegtun
13y ago
mirven does seem to have gone quiet (on Github & Twitter). Two more up-to-date forks can be found here.... - https://github.com/jtarchie/underscore-lua - https://github.com/mark-otaris/unders
293.
▲
by
draegtun
13y ago
Plonk that into an autobox module (like perl5i and/or autobox::Core) and enjoying even more caddadadaddaaaaaring around! For eg: use perl5i::2; sub autobox::Core::ARRAY::car { $_[0]->[0] } sub autobox::Core::ARRAY::cdr {
294.
▲
by
draegtun
13y ago
Rebol comes with first & last but not the others. >> a: [1 2 3 4] == [1 2 3 4] >> first a == 1 >> last a == 4 This is how you could add rest & most : >> rest: func [s] [next s]
295.
▲
by
draegtun
13y ago
I don't see anything magical in there? Looks like a good set of useful/powerful operators to me.
296.
▲
by
draegtun
13y ago
See also... Perl Résumé which works of your CPAN account (via MetaCPAN) - http://perlresume.org
297.
▲
by
draegtun
13y ago
>Smaller than a browser i would guess You can amend max-x & max-y variables in the script to change spreadsheet size to make bigger. For others... The Rebol 2 binaries to run this spreadsheet script can be found here - http:&#
298.
▲
by
draegtun
13y ago
>perl is a language which has not seen any new adoption by developers... This is incorrect. Perl is still seeing good adoption by new developers. Now your argument could be that it probably not at same rate compared to some of the to
299.
▲
by
draegtun
13y ago
Very neat. Thought I'd have a crack at doing something similar in Rebol. Here's my attempt: Rebol [] ; Here's the beef!... the spreadsheet object spreadsheet: context [ update: func [block /local b] [
300.
▲
by
draegtun
13y ago
Here are some links to Carl Sassenrath World's smallest spreadsheet program he wrote back in 2001 using Rebol (under 100 lines): * Announcement on Rebol mailing list - http://www.rebol.org/ml-display-thread.r?m=rmlNHP
More ›