Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Move tools to a separate package | Aleksey Kladov | 2018-02-03 | 7 | -28/+75 | |
|/ | ||||||
* | Merge #37 | bors[bot] | 2018-02-03 | 8 | -14/+114 | |
|\ | | | | | | | | | | | 37: G: const item r=matklad a=matklad | |||||
| * | G: const item | Aleksey Kladov | 2018-02-03 | 8 | -14/+114 | |
|/ | ||||||
* | Merge #36 | bors[bot] | 2018-02-02 | 7 | -9/+81 | |
|\ | | | | | | | | | | | 36: Static items r=matklad a=matklad | |||||
| * | G: static items | Aleksey Kladov | 2018-02-02 | 7 | -8/+67 | |
| | | ||||||
| * | L: const & static keywords | Aleksey Kladov | 2018-02-02 | 4 | -3/+16 | |
|/ | ||||||
* | Merge #35 | bors[bot] | 2018-02-02 | 6 | -146/+153 | |
|\ | | | | | | | | | | | 35: Move use r=matklad a=matklad | |||||
| * | Move type parameter parsing to a separate file | Aleksey Kladov | 2018-02-02 | 4 | -74/+80 | |
| | | ||||||
| * | Move use item parsing to a separate file | Aleksey Kladov | 2018-02-02 | 3 | -72/+73 | |
|/ | ||||||
* | Merge #33 | bors[bot] | 2018-02-02 | 7 | -17/+139 | |
|\ | | | | | | | | | | | 33: G: extern functions r=matklad a=matklad | |||||
| * | G: extern functions | Aleksey Kladov | 2018-02-02 | 7 | -17/+139 | |
|/ | ||||||
* | Merge #32 | bors[bot] | 2018-02-02 | 10 | -7/+247 | |
|\ | | | | | | | | | | | 32: G: type_parameter_list r=matklad a=matklad | |||||
| * | Formatting | Aleksey Kladov | 2018-01-30 | 1 | -1/+0 | |
| | | ||||||
| * | G: type_parameter_list | Aleksey Kladov | 2018-01-30 | 10 | -7/+248 | |
|/ | ||||||
* | Merge #31 | bors[bot] | 2018-01-28 | 33 | -171/+377 | |
|\ | | | | | | | | | | | 31: Parse enums r=matklad a=matklad | |||||
| * | Reformat | Aleksey Kladov | 2018-01-28 | 3 | -4/+5 | |
| | | ||||||
| * | Print identifiers in test data | Aleksey Kladov | 2018-01-28 | 27 | -188/+200 | |
| | | ||||||
| * | Parse enums | Aleksey Kladov | 2018-01-28 | 7 | -1/+194 | |
|/ | ||||||
* | Merge #29 | bors[bot] | 2018-01-28 | 8 | -74/+415 | |
|\ | | | | | | | | | | | 29: Structs r=matklad a=matklad r? @CAD97 | |||||
| * | Test for error recovery for broken parameters | Aleksey Kladov | 2018-01-28 | 2 | -0/+47 | |
| | | ||||||
| * | Generic params in structs | Aleksey Kladov | 2018-01-28 | 6 | -3/+294 | |
| | | ||||||
| * | Move struct parsing to a separate module | Aleksey Kladov | 2018-01-28 | 2 | -83/+86 | |
|/ | ||||||
* | Merge #30 | bors[bot] | 2018-01-28 | 4 | -0/+96 | |
|\ | | | | | | | | | | | 30: Skip over balanced parens r=matklad a=matklad | |||||
| * | Skip over balanced parens | Aleksey Kladov | 2018-01-28 | 4 | -0/+96 | |
|/ | ||||||
* | Merge #28 | bors[bot] | 2018-01-28 | 4 | -16/+13 | |
|\ | | | | | | | | | | | 28: Don't return SyntaxKind from bump r=matklad a=matklad | |||||
| * | Don't return SyntaxKind from bump | Aleksey Kladov | 2018-01-28 | 4 | -16/+13 | |
|/ | ||||||
* | Merge #25 | bors[bot] | 2018-01-28 | 4 | -74/+30 | |
|\ | | | | | | | | | | | 25: Drop curly_block r=matklad a=matklad closes #13 | |||||
| * | Rename raw_lookahead -> nth | Aleksey Kladov | 2018-01-28 | 4 | -8/+8 | |
| | | ||||||
| * | Simplify | Aleksey Kladov | 2018-01-28 | 2 | -28/+5 | |
| | | ||||||
| * | Drop curly_block | Aleksey Kladov | 2018-01-28 | 2 | -42/+21 | |
|/ | | | | closes #13 | |||||
* | Merge #24 | bors[bot] | 2018-01-28 | 3 | -1/+35 | |
|\ | | | | | | | | | | | 24: Block Comments r=matklad a=CAD97 closes #7 | |||||
| * | Update comments.rs | Christopher Durham | 2018-01-28 | 1 | -1/+1 | |
| | | ||||||
| * | Block Comments | Christopher Durham | 2018-01-28 | 3 | -1/+35 | |
| | | | | | | | | closes #7 | |||||
* | | Merge #23 | bors[bot] | 2018-01-28 | 4 | -4/+44 | |
|\ \ | | | | | | | | | | | | | | | | 23: Simplify item parsing r=matklad a=matklad | |||||
| * | | Add recovery test | Aleksey Kladov | 2018-01-28 | 2 | -0/+37 | |
| | | | ||||||
| * | | Simplify item parsing | Aleksey Kladov | 2018-01-28 | 2 | -4/+7 | |
|/ / | ||||||
* | | Let bors to cleanup branches | Aleksey Kladov | 2018-01-28 | 1 | -0/+1 | |
| | | ||||||
* | | Merge #22 | bors[bot] | 2018-01-28 | 1 | -1/+1 | |
|\ \ | |/ |/| | | | | | | | 22: Try to fix spurious download errors on appveyor r=matklad a=matklad | |||||
| * | Try to fix spurious download errors on appveyor | Aleksey Kladov | 2018-01-28 | 1 | -1/+1 | |
|/ | ||||||
* | Merge #21 | bors[bot] | 2018-01-28 | 1 | -1/+0 | |
|\ | | | | | | | | | | | 21: Apply #20 to generating code r=CAD97 a=CAD97 | |||||
| * | Update gen.rs | Christopher Durham | 2018-01-28 | 1 | -1/+0 | |
|/ | ||||||
* | Merge #20 | bors[bot] | 2018-01-28 | 1 | -1/+0 | |
|\ | | | | | | | | | | | | | 20: Drop `repr(u32)` from SyntaxKind r=CAD97 a=matklad Nomicon says it disables some optimizations: https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri | |||||
| * | Drop `repr(u32)` from SyntaxKind | Aleksey Kladov | 2018-01-28 | 1 | -1/+0 | |
|/ | | | | | Nomicon says it disables some optimizations: https://doc.rust-lang.org/beta/nomicon/other-reprs.html#repru-repri | |||||
* | Merge #18 | bors[bot] | 2018-01-28 | 3 | -4/+59 | |
|\ | | | | | | | | | | | 18: Comments r=matklad a=matklad | |||||
| * | Document events a bit | Aleksey Kladov | 2018-01-28 | 1 | -1/+0 | |
| | | ||||||
| * | Document events a bit | Aleksey Kladov | 2018-01-28 | 1 | -0/+48 | |
| | | ||||||
| * | Explain TOMBSTONE and EOF | Aleksey Kladov | 2018-01-28 | 2 | -4/+12 | |
| | | ||||||
* | | Merge #17 | bors[bot] | 2018-01-28 | 3 | -7/+14 | |
|\ \ | |/ |/| | | | | | | | 17: Document the design of `FileBuilder` r=matklad a=matklad | |||||
| * | Document the design of `FileBuilder` | Aleksey Kladov | 2018-01-28 | 3 | -7/+14 | |
| | | ||||||
* | | Merge #16 | bors[bot] | 2018-01-28 | 7 | -243/+243 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16: Proof-of-concept SyntaxKind as enum r=matklad a=CAD97 This was the one bit about the original RFC I was most confused about. Why isn't `SyntaxKind` a normal `enum`? If it's to signify that it's non-exhaustive [`#[non_exhaustive]`](https://github.com/rust-lang/rust/issues/44109) should be used. (Or `#[doc(hidden)] __Nonexhaustive` on stable.) If it's so that more variants can be added externally, why? There's no need for that, that I can foresee. If it's to expose the `SyntaxKind` type but not any of its instances, why? This is the only actual benefit I can see of this pseudo-enum style. This diff is meant to be as non-invasive as possible, and as such reexports all symbols as they existed prior to this. It's diffed on top of the assumed-good-to-merge #15 to avoid the conflict between them. Diff without #15: <https://github.com/matklad/libsyntax2/pull/16/commits/4244948c6b1a62bd0e1ef276d1f0cc22c36f6f66> Just `src/syntax_kinds.rs`: <https://github.com/matklad/libsyntax2/pull/16/commits/4244948c6b1a62bd0e1ef276d1f0cc22c36f6f66#diff-8f0d69eb4fe0148851505f787b6fd3bb> |