Nathan Lilienthal

Results 263 comments of Nathan Lilienthal

For anyone randomly stumbling across this issue, I found a solution by updating the remote's URL I was trying to `hub pr checkout ...` from `https://...` to `git://...`. This caused...

I personally never mix one-liners and multi-liners. I feel that the visual consistency is important.

I agree that YACC style declarations get abused. I like the proposed syntax above. Could we also allow for attributes like ``` rust #[precedence(rank=1, assoc=none)] ```

How will this work across different productions? I have used weird precedence rules before to "solve" things like the following. ``` assign -> id[exp] := exp id -> ident |...

@nikomatsakis I suppose I'll need to understand this conditional macro before I can really comment.

@nikomatsakis I also started working on adding annotations to `parse_tree::Alternative` variants and making things work. Any direction on this would be awesome. It's on a branch https://github.com/nixpulvis/lalrpop/tree/production-annotations

@nikomatsakis well I figure the first step would be to add the ability to have attributes on alts, then we can figure out how to read this particular one. I...

Oh interesting, very interested. Would this happen during translation to `repr` types. EDIT: nvm answered

@nikomatsakis I was talking with my compiler professor, trying to understand how exactly I might go about this. He was unaware of any previous tech that does things this way....

@pczarn Thanks, I'll try to find some time to read over this. @nikomatsakis I'm curious how you think this is going to effect the overall system especially considering that there...