Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
draegtun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
331.
▲
by
draegtun
13y ago
Mark Jason Dominus also says the same thing about Perl in his Higher Order Perl book [1][2] and goes onto show that Perl has 6 of the 7 features that Norvig describes has making Lisp different [3]. [1] http://hop.perl.plover.co
332.
▲
by
draegtun
13y ago
Perl6 & Rebol are some other examples of dynamic languages which come with optional typing . NB. And I believe Perl6 in certain cases will/can raise compile-time type errors.
333.
▲
by
draegtun
13y ago
Sitepoint produced a good W3Schools alternative - http://reference.sitepoint.com
334.
▲
by
draegtun
13y ago
.red is already being used by Red - http://www.red-lang.org
335.
▲
Agile Companies Go P.O.P. (People, Organisation & Process) [video]
(youtube.com)
2 points
by
draegtun
13y ago
|
0 comments
336.
▲
by
draegtun
13y ago
BETA did come up in this HN post from last year: The impoliteness of overriding methods - https://news.ycombinator.com/item?id=4943538
337.
▲
by
draegtun
13y ago
There are plenty of iterator/generator libraries on CPAN. My personal favourite is Coro::Generator - https://metacpan.org/module/Coro::Generator Re: Underscore... there is a Perl port - http://vti.gith
338.
▲
by
draegtun
13y ago
Late reply here because I just tried submitting this link myself :) What got me interested was how another language which used consistent data structure for its syntax would look here in comparison. So here is my stab at it using Rebol...
339.
▲
by
draegtun
13y ago
It's a shame Carl Sassenrath's MakeDoc didn't catch on (outside of the Rebol world at least). NB. MakeDoc was already 4 years old when Markdown was born . ref: http://en.wikipedia.org/wiki/MakeDoc
340.
▲
Acmeism: Hacking in Every Language at Once [video]
(youtube.com)
1 points
by
draegtun
13y ago
|
0 comments
341.
▲
by
draegtun
13y ago
Have a look at Rebol parse dialect for an alternative mind blowing way of doing things! Here's is OP example ported to parse : ; build some sub rules r: context [ domain: charset [#"a" - #"z" #"-
342.
▲
by
draegtun
13y ago
And for those interested a full RFC 3986 (URI) in Perl6 grammar can be found here - https://github.com/ihrd/uri Here is direct link to grammar module - https://github.com/ihrd/uri/blob/ma
343.
▲
by
draegtun
13y ago
Some languages provide alternatives to Regexes. For eg. Rebol uses a parse dialect instead - http://www.rebol.com/docs/core23/rebolcore-15.html Here is the articles example converted to Rebol's parse dia
344.
▲
by
draegtun
13y ago
Yes I thought that maybe the case but covered both bases because that CPAN module is multi-lingual.
345.
▲
by
draegtun
13y ago
For Perl library see MediaWiki::API - https://metacpan.org/module/MediaWiki::API
346.
▲
by
draegtun
13y ago
I've been on holiday since I left my last reply so also getting back late on this :) Everything in Rebol is just blocks of words , where (in general) expressions are evaluated from left to right; however, within each expression eval
347.
▲
by
draegtun
13y ago
>The serious question I would have about non-s-expressions language is - while they might be homoiconic by whatever definition, what makes them easy to parse? Rebol is very easy to parse. Here is a Rebol parser in 10 lines of Rebol:
348.
▲
by
draegtun
13y ago
I know what you mean. In my examples I think only Perl6 is stretching the definition of homoiconicity, NB. are Perl6 Grammars == data structure/primitive ?? However Rebol (blocks & words) & Io/Smalltalk (objects and mess
349.
▲
by
draegtun
13y ago
Rebol, Io, Smalltalk & Perl6 are also examples of non s-expression homoiconic languages.
350.
▲
by
draegtun
13y ago
And another option is PDL - http://pdl.perl.org NB. And I believe Perl6 (spec) includes PDL - http://perlcabal.org/syn/S09.html#PDL_support
351.
▲
by
draegtun
13y ago
The README is a POD file [1] so its needs renaming to README.pod and then github will render it correctly. [1] http://en.wikipedia.org/wiki/Plain_Old_Documentation
352.
▲
CSS::Coverage - Confirm that your CSS matches your DOM
(metacpan.org)
1 points
by
draegtun
13y ago
|
0 comments
353.
▲
by
draegtun
13y ago
Typically with Perl there is more than one module for this :) - pQuery | https://metacpan.org/module/pQuery - Mojo::UserAgent | https://metacpan.org/module/Mojo%3a%3aUserAgent - Scrappy | https:&
354.
▲
by
draegtun
13y ago
PDL (Perl Data Language) offers a great alternative - http://pdl.perl.org
355.
▲
ReCode - Rebol / Red conference | Montréal, Canada July 12-14
(recode.revault.org)
3 points
by
draegtun
13y ago
|
1 comments
356.
▲
Google not obliged to delete data, rules EU lawyer
(bbc.co.uk)
3 points
by
draegtun
13y ago
|
0 comments
357.
▲
by
draegtun
13y ago
>re: ... and only use whitespace to separate the 'words'? Have a look at Rebol which is a mix of Forth, Logo & Lisp. Here's an example of Rebol code (typed into the console (REPL))... >> multiply add 1 2
358.
▲
by
draegtun
13y ago
re: Perl - You're probably thinking of $_ , which most Perl programmers call it . However this only gets topicalised in bare for & while but not if . So you could do... for (something_exists) { do_something_to($_);
359.
▲
Rename 1.600 (CLI tool to rename files according to modification rules)
(plasmasturm.org)
1 points
by
draegtun
13y ago
|
0 comments
360.
▲
Orthodoxy vs. Pragmatism, or How I Became a Better Developer
(drdobbs.com)
3 points
by
draegtun
13y ago
|
0 comments
More ›