about summary refs log tree commit diff
path: root/src/librustsyntax/parse.rs
AgeCommit message (Collapse)AuthorLines
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-164/+0
Per issue #2418.
2012-05-24Access parse/attrs.rs with an impl.Paul Stansifer-1/+2
2012-05-24Use an impl to access parse/common.rsPaul Stansifer-1/+2
2012-05-23The parser is represented by a class now.Paul Stansifer-27/+8
2012-05-18port codemap to use dvecNiko Matsakis-2/+3
2012-05-18port some code to use dvecNiko Matsakis-1/+1
2012-05-10Preliminary groundwork for intrinsic module, reflection interface.Graydon Hoare-0/+12
2012-04-30Annotate FIXME (comment only)Tim Chevalier-1/+1
2012-04-30Revert "Eliminate a copy in syntax::parse::new_parser_from_file"Tim Chevalier-15/+12
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb. (I was confused.)
2012-04-30Eliminate a copy in syntax::parse::new_parser_from_fileTim Chevalier-12/+15
Fixing a FIXME turned out to be pretty involved. I added an io function that returns a unique boxed string (for the contents of a file) rather than a string, and went from there. Also made the src field of codemap a unique boxed string. This doesn't seem to make that much difference in amount of allocation according to valgrind (disappointingly), but I also had to introduce a copy somewhere else pending a new snapshot, so maybe that's it.
2012-04-26Refactor operator precedence codeTim Chevalier-1/+0
Use functions instead of a dynamically created table to determine operator precedence. Gets rid of a FIXME in syntax::parse::prec. Change precedences from int to uint while we're at it, since don't use negative precedences.
2012-04-24syntax: Divide keywords into contextual/restricted. No bad wordsBrian Anderson-1/+1
2012-04-19syntax: Reorganize mod parseBrian Anderson-75/+77
2012-04-19syntax: Extract attribute parsing to its own modBrian Anderson-1/+1
2012-04-19syntax: Funnel all words through a single keyword tableBrian Anderson-0/+1
2012-04-18syntax: Put the main parser interface in mod parseBrian Anderson-0/+166