Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-04-20

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
06:11 masak it does have infix ops.
07:01 Ven joined #6macros
09:53 Ven joined #6macros
12:52 Ven 007 parses infixes with `<expr> + % <infixish>` ?
12:52 Ven but that's the definition of an expr, isn't it?
13:39 masak this method parses infixes: https://github.com/masak/007/blob/03dd6f8ba82498388d244a57eff671f8ab156b3a/lib/_007/Parser.pm#L191
13:39 masak I feel like maybe one of us is confused. :)
14:27 Ven I am :D
14:28 Ven I want to parse, say "a + b", but if I write `token expr { <expr> <op> <expr> }`, this'll not work well :)
14:29 Ven sorry for the late answer, I'm doing some objective-c, and it's a terrible language
15:03 masak yes, that indeed won't work.
15:04 masak it's called something like "left-recursive". it loops forever, just like `sub foo { foo(); ... }` would.
15:36 Ven yeah
15:36 Ven that much I know :)
15:46 masak I'm sorry, I don't know if there's a topic left after that. :)
17:07 vendethiel joined #6macros
17:27 vendethiel right, right.
17:27 vendethiel but I don't want to, say, look "up to an operator" and parse everything between my current position and that
17:29 vendethiel mh
17:30 vendethiel I was asking to do a technical review for a book (on coffeescript)
17:30 vendethiel but I'm afraid I won't find that for that between school and al
18:51 masak you were asked?
18:52 masak yeah, any kind of task like that takes time. usually more than expected.
18:52 vendethiel I received an email, offering me to review one
18:52 masak I downloaded and used Coq for the first time yesterday. impressed.
18:52 masak I also read through an entire tutorial on it.
18:53 vendethiel never tried Coq!
18:53 vendethiel I should
18:54 masak I especially like how they nicely braid three sublanguages: one for high-level definitions, one for types, and one for proof tactics.
18:56 masak in that same vein, I liked reading http://bentnib.org/posts/2015-04-17-propositions-as-filenames-essence-of-make.html
18:57 masak somehow that really clicked for me. maybe I'm in an intuitionistic type theory mood right now.
18:57 vendethiel that's a ... very specific mood
18:59 masak :D
19:00 vendethiel I'm a pretty bad mood myself, but I can impute that to objective-c/ios programming and sleep deprivation :)
19:01 vendethiel that was an interesting read
19:01 vendethiel I'm not much in the type theory field these days
19:01 vendethiel I've been spending some time reading the c++ standard
19:02 masak what's your general impression of C++ ?
19:02 vendethiel it's actually very perl6-like, in *some* sense.
19:03 vendethiel "they wondered if that was possible, and never asked themselves if they should do it instead"
19:03 vendethiel I totally butchered that quote (jurassic park quote?) but that's the sentiment
19:03 masak yeah, that's my impression, too
19:03 masak it's the same premise but quite a different result, though
19:03 vendethiel right.
19:03 vendethiel as I talked earlier, the fact they implemented lambda in the language before it was added
19:04 vendethiel the fact they have a compile-time-generation of parser (boost.spirit)
19:04 vendethiel or the fact they created something akin our Whatever (Boost.phoenix)
19:04 vendethiel the fact they have a compile-time regex-compiling engine
19:04 vendethiel the fact they have ....
19:05 vendethiel I guess I'm really interested in learning "deep dark magic" stuff
19:06 vendethiel and that's why I'm learning this stuff
19:06 vendethiel I'll never say c++ is a good language
19:10 masak *nod*
19:10 vendethiel but it's interesting
19:11 vendethiel as a grew-up-with-backwards-compat
19:11 vendethiel much in the same way as perl, imho
19:23 masak yeah.
19:23 masak and AngularJS
19:23 masak (been teaching that today)
19:24 masak the directive API... is quite powerful but leaves much to be desired in terms of beauty.
19:25 vendethiel right
19:26 vendethiel it has this java feeling :P
19:42 masak no, it has this inconsistent ball of mud feeling :)
22:58 vendethiel joined #6macros
23:22 vendethiel joined #6macros

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary