Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2015-06-12

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:07 jeffreykegler joined #marpa
01:24 jeffreykegler left #marpa
06:17 ronsavage joined #marpa
08:51 aredridel joined #marpa
10:05 sirdancealot joined #marpa
10:17 btyler joined #marpa
14:02 Cheery I feel I am sort of gaining confidence to this kind of parsing
14:03 Cheery although there's lot to go
14:11 Cheery https://bpaste.net/show/c7b036612b23
14:12 Cheery to get the new system parse all the language presented took 15 seconds
14:15 Cheery if I can gain confidence that this is feasible way to do it, that's kind of  a game changer.
14:15 Cheery prior this I've treated grammars as monoliths, that is change of grammar has been high cost operation
14:16 Cheery that has forced workflow where I entirely create the new grammar, then add stubs to functionality I haven't implemented.
14:19 Cheery but if I can add if clause like this, then there's no such worrying
15:39 Cheery and it seems to be just getting better
15:50 Cheery I just rewrote part of my grammar.
15:54 Cheery it turned out that the way I described it in my grammar did not match to what the compiler would find convenient.
15:56 Cheery now, after the simple adjustment, it gets the conditionals directly in a form that the code can be concentrated to translating the input program into bytecode.
15:56 Cheery ended up like: cond -> if_elif_list [else]
15:57 Cheery else -> 'newline' 'else' 'block'
15:58 Cheery if_elif_list -> 'if' statement block | if_elif_list 'elif' statement block
15:59 Cheery unlike with LR parsing, that was instant results
16:00 Cheery and it does exactly what I specified
16:00 Cheery it's slightly distressing because I don't know if it's correct unless I try.
16:00 Cheery but the experience is equivalent to having dynamic vs. statically typed language anyway.
16:30 lwa joined #marpa
17:06 sirdancealot joined #marpa
20:41 Cheery http://www.reddit.com/r/lisp/comment​s/39mngt/successor_for_lisp_syntax/
22:13 sirdancealot joined #marpa
23:13 ronsavage joined #marpa

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary