411 karma · joined Feb 14, 2008 (18y ago) · 86 submissions
comment 7y ago · link · parent
comment 10y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
Putin says:
No one doubts that poison gas was used in Syria. But there is every reason to believe it was used not by the Syrian Army, but by opposition forces, to provoke intervention by their powerful foreign patrons, who would be siding with the fundamentalists.
Then later:
A new opportunity to avoid military action has emerged in the past few days. The United States, Russia and all members of the international community must take advantage of the Syrian government’s willingness to place its chemical arsenal under international control for subsequent destruction.
comment 13y ago · link · parent
Anyway, there is a reprint available now for $25 http://www.amazon.com/The-Lambda-Calculus-Syntax-Semantics/d...
comment 13y ago · link · parent
comment 14y ago · link · parent
comment 14y ago · link · parent
comment 14y ago · link · parent
Could someone explain what he means? (Did Python not have a repl when he wrote that?)
comment 15y ago · link · parent
comment 15y ago · link · parent
Lexical analyzer
Parser
High-level translator
Normalizer & CPS converter
Low-level translator
Register allocator & Assembly code emitter
Anyway, when I took compilers it was similar to yours -- each week we compiled larger subsets of Python to x86.comment 15y ago · link · parent
Undergraduates write to professors with singular first person pronouns because they are often requesting information, or this sort of thing... understandable then that there's less reason for I, me, and my in the professor's response (and easy to imagine similar situation in other relationships).
Still, a cool article. Interesting research.
comment 15y ago · link · parent
comment 15y ago · link · parent
I wish it was more common as part of these classes to actually talk about the great CS people.. who they are.. in our short history, because this is interesting stuff! Oh well.
comment 16y ago · link · parent
I think from a user's perspective, e.g. someone wanting to design a DSL, it would be nice to be able to write down arbitrary CFGs and not necessarily have to know lots of technical parsing details ("what are all these shift-reduce conflicts!?"). Maybe PEGs aren't the best choice for this (no left recursion)-- MetaBorg's SGLR is probably state-of-the-art then like Zef said.
Though one of the nice things about PEGs is no ambiguity; MetaBorg will do type-based disambiguation but only after parsing finishes. I'm working on an undergraduate thesis on 'extensible syntax' right now, trying to jump off from some of their stuff (but using a variation on Earley parsing) in particular to see if we could use types to help disambiguate incrementally during parsing.