Viewing profile — _tef
_tef
HN member- Joined
- Tue, Dec 07, 2010, 4:55 AM UTC
- HN karma
- 85
- Public activity
- 35 items
- HN profile
- View on Hacker News ↗
About _tef
No profile information was provided.
Recent public activity
-
comment
Comment #2590109
Related paper: Context threading http://www.cs.toronto.edu/syslab/pubs/demkea_context.ps The gist is you can structure your interpreter to improve branch prediction by keeping your…
-
comment
Comment #2573226
Alternatively, the people who wax lyrical for 60 or so pages don't understand much either, and are compelled to pad out their document. I remember seeing this a while ago, but I di…
-
comment
Comment #2546808
it's nice to see a larger company not being so terrible :-)
- comment
-
comment
Comment #2546472
Because depression doesn't work that way. It isn't a general feeling of malaise, it's somewhat a lack of positive value on everything (ish). It is a lack of momentum and a heavy in…
-
comment
Comment #2546451
"you don't have to be mad to work here but ...." i've found smaller companies are much more tolerant & flexible with nutters (like me). there seems to be more focus on results than…
-
comment
Comment #2453684
one of two videos has a download link for me. one uploaded in 2008 has a link but not the one from 2006
-
comment
Comment #2426463
prolog is an interesting take on programming and by comparison, the style in which you write code is still significantly different to approaches in other languages. sadly, most peo…
-
comment
Comment #2426448
Art of prolog makes an excellent first book, and the Craft complements it well with seasoned advice on elegant and efficient prolog.
-
comment
Comment #2425229
As much as I agree with the title I find the contents of the article misleading. It is almost as if prolog didn't make him a better programmer, given the idea that prolog 'returns …
-
comment
Comment #2425220
prolog is actually impure logic language, and given the general lack of HOF i'd be reticent in labelling it functional. it's a declarative language though, and the model you have '…
-
comment
Comment #2345488
correct. the pratt parser is just a way of implementing such a parser. to be technical, it is a form of left-corner parsing
-
comment
Comment #2341305
I agree with both of you - parsing isn't that mathematically demanding, and many papers are badly written. This is why 'parsing techniques' is a joy. It explains with clarity what …
-
comment
Comment #2341068
I would also like to say that the second edition is one of the finest cs-books I have.
-
comment
Comment #2341064
There is an extended bibliography online for the second edition you've linked ftp://ftp.cs.vu.nl/pub/dick/PTAPG_2nd_Edition/index.html ''' The printed book contains only the about …
-
comment
Comment #2340461
If you want that sort of succinctness, it is already covered in many compiler text books. This is to complement the existing literature with a broad and deep coverage of parsing in…
-
comment
Comment #2340458
The second edition is far superior to the first in terms of coverage and depth. edit: I read a draft copy and after getting sucked into it for a weekend I grabbed the hard copy.
-
comment
Comment #2330644
I would like to say: awesome! And yes most of my left recursion fetish would be covered by an operator precedence parser/left corner parser
-
comment
Comment #2329131
ambiguity is useful for error recovery/error detection. also, some languages have ambiguity in their syntax (ML). I don't buy the 'optimization' argument. there is no reason we can…
-
comment
Comment #2329053
notably: lpeg uses backtracking over packrat parsing
-
comment
Comment #2329048
regular expressions (ala cs) are equiv to finite state machines. regular expressions can't count or match ()'s. ragel allows you to mix in code within the state machine, so it is a…
-
comment
Comment #2328312
It actually sounds more like cancellation parsing than frost's approach (which iirc was more that left recursion is bounded by input length)
-
comment
Comment #2328297
ragel is for writing state machines and automata in. many parsers are written as automata, but that does mean it is in the same category as parsing tools such as LR, LL, GLR, PEG o…
-
comment
Comment #2328278
I can't remember off hand if it dealt with nullable terms or hidden left recursion properly either. don't get me wrong: I like the earley parser :-) I just think the original paper…
-
comment
Comment #2328161
it isn't cubic time either iirc