Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
masak
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
masak
4y ago
I'm curious how this sentiment of pg's rhymes with his two languages, Arc and Bel. As a person who has written a Bel implementation, I find one of the traits the language has is that it's trying to be "straightforward&qu
2.
▲
by
masak
5y ago
Fun side note on this: Bel's macros are definitely macros and not Kernel-style operatives. Here is a comparison, for clarity: (A) Bel's macros do a syntax->syntax transformation, but this expansion happens (according to the
3.
▲
by
masak
5y ago
Hooray! Another Bel implementation! As someone who is on their third year of Bel implementation -- getting there -- I recognize many of the insights in this post about continuations and about the well-chosen Bel built-ins. Great work, and t
4.
▲
by
masak
5y ago
As a westerner living in mainland China, I might be able to weigh in on this. China's data does indeed look hard to believe from basically anywhere outside of China (and New Zealand). I don't expect to sway anyone who doesn't
5.
▲
by
masak
5y ago
Neither the type system of C++ nor the type system of TS is sound, in the sense of "the type system rejects all incorrect programs". If what you meant by "strong" is just "you can declare types on variables", t
6.
▲
by
masak
5y ago
This reply is a good example of how "strongly typed" ends up meaning practically nothing -- except possibly "the kind of type system I prefer". I once attended a talk where the speaker had identified half a dozen axes th
7.
▲
by
masak
5y ago
The two behaviors don't seem very related. In `if a == b == c`, the value of `b` is evaluated only once, even if `b` is in fact a bigger/side-effecting expression, and `c` might not be evaluated at all. In `a = b = c`, the `c` is
8.
▲
by
masak
5y ago
If I may be so bold as to recommend my in-progress Bel implementation: https://github.com/masak/bel Caveat: I'm still working towards being able to recommend Bel _unconditionally_, not just for small programs. Rig
9.
▲
by
masak
5y ago
He's poking fun at himself with the whole "programming has never been my forté" -- the fact that he kept count of all the bugs in TEX and METAFONT is the amazing thing. At the risk of stating the obvious, iTeX is not a real s
10.
▲
by
masak
6y ago
I know the Swedish like to repeat that there is no second wave like in the other European countries, but... I've been looking at this graph for the past few weeks: https://ourworldindata.org/coronavirus/country
11.
▲
by
masak
6y ago
So, I've been thinking about this comment a lot over the weekend. It is interesting to consider a "cool kids" demographic, of developers who stray far enough outside of the mainstream to find small but worthy languages. These
12.
▲
by
masak
6y ago
There are a few more hobbyist implementations out there, at various stages of completion: - https://github.com/ajlopez/beljs - https://github.com/erdos/carillon - https://githu
13.
▲
by
masak
7y ago
Yes. Somewhat simplified, hyphens inside of identifiers are allowed and not taken to mean infix minus. I remember when this was switched on. Larry Wall tried it out on the entire spectest suite, and nothing broke (or at most one random thin
14.
▲
by
masak
7y ago
...but then the television would be turned to an actual channel, not to a dead one...?
15.
▲
by
masak
8y ago
The (old) MIX programs in The Art of Computer Programming by Knuth were often self-modifying, in the sense that they modified jump addresses at the end of routines to return to the right caller. (That is, they set the address to right after
16.
▲
by
masak
10y ago
Or maybe we needed to scale to some point with the Turing model for the Church model to assert itself and prove its merits in comparison. It's a bit more thrilling to think of it that way, as a matter of scale. When space and time reso
17.
▲
by
masak
11y ago
Oh, we'll get unquotes, don't worry. It's more a question of not-yet-implemented than anything else. Here I might as well ask HN what syntax I should go with for unquotes in 007. In Perl 6, unquotes are written as three neste
18.
▲
by
masak
11y ago
Author here. Thanks for all the kind words. README files are important, and I worked quite a bit on this one. Had some fun writing it. A quick summary of the language itself: I felt I needed a smaller language than Perl 6 to "think&quo
19.
▲
by
masak
12y ago
The postcircumfix {} is still there, and used. It just unambiguously takes an expression, and doesn't try to intuit string quotes in some cases. So you use {} for indexing with a general expression, and <> for string indexing.
20.
▲
by
masak
12y ago
Here's the Perl 6 solution: multi infix:<+>(2, 2) { 5 } say 2 + 2; # 5
21.
▲
by
masak
13y ago
I just wrote a post about MoarVM, too: http://strangelyconsistent.org/blog/a-vm-for-6model . Slightly more slanted towards how this fits into the evolution of Perl 6 implementations.
22.
▲
by
masak
14y ago
I'll make sure to link to previous years. In the meantime, here are the links to the 2010 edition: Tasks: http://strangelyconsistent.org/blog/masaks-perl-6-coding-con... Code reviews: http://strangelyconsistent.org/p6cc2010/
23.
▲
by
masak
14y ago
Perl 6, using Rakudo: perl6 -e 'loop { print <9585 9586>.roll.chr }' In fact, perl6 -e 'loop { print <╱ ╲>.roll }' will work too if your terminal is set up properly.
24.
▲
by
masak
14y ago
You should never "wait" for a programming language. :) I say this as someone who is deeply involved in Perl 6 development. Learn Perl 5 if you want to learn how a full-featured, complete, and liberating-to-use programming language works. Ch
25.
▲
by
masak
14y ago
Reference: http://perldoc.perl.org/perlhist.html
26.
▲
by
masak
15y ago
Well, being a rational number, it has to wrap around somewhere. And since 999 + 001 == 000 (with the caveats for carries that people have explained elsewhere), it makes sense for it to wrap around at that point.
27.
▲
by
masak
15y ago
No, it's still too early for that. That said, there's two of us in the company I work for: http://www.edument.se/english/ . I got hired mostly on my merits as a Perl 6 core contributor. We're eager to hire more Perl 6 programmers.
28.
▲
by
masak
15y ago
I've been an active Perl 6 user since 2008; during that time, I've often had too high expectations on then-current Rakudo implementations: I've been dabbling in wiki software, etc. It was slow. Sometimes it was unstable. Seen from ten thous
29.
▲
by
masak
15y ago
I'm trying to think of a way to read your question that doesn't make it dismissive and condescending. Why wouldn't the current three implementations be angled for real-world use? I'm using Perl 6 "in the real world". I use it on my spare ti
30.
▲
by
masak
15y ago
Example: checking out a repository where someone named (say) a file 'foo' and a directory 'Foo'. It happens. Most of the time that checkout will simply fail. Having this not work is less than enjoyable.
More ›