| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-01-02 | more intuitive order | Aleksey Kladov | -42/+42 | |
| 2022-01-02 | check top level entry point invariants | Aleksey Kladov | -5/+23 | |
| 2022-01-02 | add top-level tests for expressions | Aleksey Kladov | -1/+1 | |
| 2022-01-02 | add top level tests for types | Aleksey Kladov | -1/+3 | |
| 2022-01-02 | enforce parsing invariant for patterns | Aleksey Kladov | -1/+1 | |
| 2021-12-28 | dead code | Aleksey Kladov | -41/+0 | |
| 2021-12-28 | remove Item::parse | Aleksey Kladov | -2/+0 | |
| 2021-12-28 | internal: start isolating ssr-related parsing APIs to SSR | Aleksey Kladov | -2/+0 | |
| 2021-12-28 | dead code | Aleksey Kladov | -2/+0 | |
| 2021-12-28 | add TopEntryPoint | Aleksey Kladov | -9/+52 | |
| 2021-12-28 | simplify | Aleksey Kladov | -2/+6 | |
| 2021-12-28 | move path | Aleksey Kladov | -2/+4 | |
| 2021-12-28 | move expr | Aleksey Kladov | -0/+2 | |
| 2021-12-28 | move ty | Aleksey Kladov | -1/+3 | |
| 2021-12-28 | move pat to prefix entry points | Aleksey Kladov | -2/+5 | |
| 2021-12-28 | move stmt to entry points | Aleksey Kladov | -6/+2 | |
| 2021-12-28 | internal: move block to prefix entry point | Aleksey Kladov | -0/+2 | |
| 2021-12-28 | internal: move visibility to a prefix entry point | Aleksey Kladov | -3/+4 | |
| 2021-12-28 | internal: add prefix entry points | Aleksey Kladov | -0/+24 | |
| 2021-12-26 | internal: move ws attachment logic to the parser crate | Aleksey Kladov | -0/+2 | |
| This has to re-introduce the `sink` pattern, because doing this purely with iterators is awkward :( Maaaybe the event vector was a false start? But, anyway, I like the current factoring more -- it sort-of obvious that we do want to keep ws-attachment business in the parser, and that we also don't want that to depend on the particular tree structure. I think `shortcuts` module achieves that. | ||||
| 2021-12-25 | internal: rename | Aleksey Kladov | -9/+17 | |
| 2021-12-25 | internal: replace TreeSink with a data structure | Aleksey Kladov | -25/+13 | |
| The general theme of this is to make parser a better independent library. The specific thing we do here is replacing callback based TreeSink with a data structure. That is, rather than calling user-provided tree construction methods, the parser now spits out a very bare-bones tree, effectively a log of a DFS traversal. This makes the parser usable without any *specifc* tree sink, and allows us to, eg, move tests into this crate. Now, it's also true that this is a distinction without a difference, as the old and the new interface are equivalent in expressiveness. Still, this new thing seems somewhat simpler. But yeah, I admit I don't have a suuper strong motivation here, just a hunch that this is better. | ||||
| 2021-12-18 | soa all the things | Aleksey Kladov | -2/+2 | |
| 2021-12-18 | move lexing to the parser crate | Aleksey Kladov | -1/+5 | |
| 2021-12-12 | port mbe to soa tokens | Aleksey Kladov | -2/+5 | |
| 2021-12-12 | parser tests work | Aleksey Kladov | -30/+1 | |
| 2021-12-12 | Switch parser to use tokens | Aleksey Kladov | -10/+9 | |
| 2021-12-12 | start SOA parser interface | Aleksey Kladov | -0/+1 | |
| 2021-09-06 | minor: modernize | Aleksey Kladov | -3/+1 | |
| 2021-09-06 | internal: make name consistent with usage | Aleksey Kladov | -33/+33 | |
| 2021-09-05 | internal: remove accidental code re-use | Aleksey Kladov | -4/+0 | |
| FragmentKind played two roles: * entry point to the parser * syntactic category of a macro call These are different use-cases, and warrant different types. For example, macro can't expand to visibility, but we have such fragment today. This PR introduces `ExpandsTo` enum to separate this two use-cases. I suspect we might further split `FragmentKind` into `$x:specifier` enum specific to MBE, and a general parser entry point, but that's for another PR! | ||||
| 2021-08-03 | tree-wide: fix rustdoc warnings, add some links | Jade | -7/+10 | |
| 2021-01-03 | parser,syntax: Add separate parser for stmt with optional semicolon | Marijn Suijten | -0/+2 | |
| Adjusting `grammar::fragments::stmt` to Optional or Yes will break original functionality and tests. | ||||
| 2020-12-20 | Use pattern_single instead of pattern in mbe pat | Edwin Cheng | -1/+1 | |
| 2020-12-18 | Implement `RawAttr::filter` | Jonas Schievink | -0/+3 | |
| 2020-08-12 | Rename ra_syntax -> syntax | Aleksey Kladov | -1/+1 | |
| 2020-08-12 | Rename ra_parser -> parser | Aleksey Kladov | -0/+149 | |
