Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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> | |||||
| * | Convert SyntaxKind to an enum | Christopher Durham | 2018-01-28 | 7 | -243/+243 | |
| | | ||||||
* | | Merge #15 | bors[bot] | 2018-01-28 | 6 | -3/+60 | |
|\| | | | | | | | | | | | | | | | 15: Add minimal docs to most public symbols r=matklad a=CAD97 Also sticks a safety on some warnings that rustc provides. If you're just stubbing out a module and don't want rustc refusing to compile it because you haven't documented it yet, stick `#![allow(missing_docs)]` at the top. | |||||
| * | Add minimal docs to most public symbols | Christopher Durham | 2018-01-28 | 6 | -3/+60 | |
|/ | ||||||
* | Merge #14 | bors[bot] | 2018-01-28 | 1 | -2/+17 | |
|\ | | | | | | | | | | | 14: Normalize test newlines r=matklad a=CAD97 Tests pass with CRLF newlines now | |||||
| * | Normalize test newlines | Christopher Durham | 2018-01-28 | 1 | -2/+17 | |
| | | | | | | | | Tests pass with CRLF newlines now | |||||
* | | The last of the Masters | Aleksey Kladov | 2018-01-28 | 3 | -0/+16 | |
| | | ||||||
* | | Add appveyor badge | Aleksey Kladov | 2018-01-28 | 1 | -0/+3 | |
| | | ||||||
* | | Fix typo | Aleksey Kladov | 2018-01-28 | 1 | -1/+1 | |
| | | ||||||
* | | CI: add windows testing | Aleksey Kladov | 2018-01-28 | 1 | -0/+13 | |
|/ | ||||||
* | Merge pull request #12 from CAD97/enforce-fmt | Christopher Durham | 2018-01-27 | 26 | -259/+283 | |
|\ | | | | | Enforce rustfmt format | |||||
| * | Be explicit for Travis' sake | Christopher Durham | 2018-01-27 | 1 | -4/+4 | |
| | | ||||||
| * | Enforce rustfmt format | Christopher Durham | 2018-01-27 | 1 | -1/+1 | |
| | | ||||||
| * | Enforce rustfmt format | Christopher Durham | 2018-01-27 | 26 | -256/+280 | |
|/ | ||||||
* | Add tests for parser recovery in fields | Aleksey Kladov | 2018-01-27 | 2 | -0/+61 | |
| | ||||||
* | Drop high-order stuff for good | Aleksey Kladov | 2018-01-27 | 2 | -40/+0 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2018-01-27 | 1 | -6/+15 | |
| | ||||||
* | Brush up readme | Aleksey Kladov | 2018-01-27 | 1 | -2/+2 | |
| | ||||||
* | Fix link | Aleksey Kladov | 2018-01-27 | 1 | -1/+1 | |
| | ||||||
* | Brush up CONTRIBUTING.md | Aleksey Kladov | 2018-01-27 | 1 | -8/+15 | |
| | ||||||
* | :arrow_up: deps | Aleksey Kladov | 2018-01-27 | 1 | -1/+1 | |
| | ||||||
* | CI badge | Aleksey Kladov | 2018-01-27 | 1 | -0/+1 | |
| | ||||||
* | CI | Aleksey Kladov | 2018-01-27 | 1 | -0/+3 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2018-01-27 | 2 | -11/+22 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2018-01-22 | 1 | -5/+1 | |
| | ||||||
* | Extract nested trees | Aleksey Kladov | 2018-01-22 | 1 | -8/+7 | |
| | ||||||
* | Remove high-order bits from tuple struct | Aleksey Kladov | 2018-01-21 | 3 | -6/+34 | |
| | ||||||
* | Command-line utilty to print the parse tree | Aleksey Kladov | 2018-01-21 | 3 | -32/+57 | |
| | ||||||
* | Test attribute recovery | Aleksey Kladov | 2018-01-20 | 2 | -0/+62 | |
| | ||||||
* | Remove high-order bits from attributes | Aleksey Kladov | 2018-01-20 | 5 | -40/+98 | |
| | ||||||
* | Markers API | Aleksey Kladov | 2018-01-20 | 10 | -145/+189 | |
| | ||||||
* | Drop more high-order stuff | Aleksey Kladov | 2018-01-20 | 5 | -93/+100 | |
| | ||||||
* | Drop more high-order stuff | Aleksey Kladov | 2018-01-20 | 1 | -12/+11 | |
| | ||||||
* | Drop high-order combinators | Aleksey Kladov | 2018-01-20 | 4 | -136/+135 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2018-01-15 | 2 | -3/+4 | |
| | ||||||
* | Rename `many` -> `repeat` | Aleksey Kladov | 2018-01-15 | 4 | -6/+6 | |
| | ||||||
* | G: struct flavors | Aleksey Kladov | 2018-01-13 | 12 | -85/+257 | |
| | ||||||
* | G: use trees | Aleksey Kladov | 2018-01-13 | 13 | -93/+319 | |
| | ||||||
* | G: allow self & super in paths | Aleksey Kladov | 2018-01-13 | 10 | -72/+156 | |
| | ||||||
* | G: visibility | Aleksey Kladov | 2018-01-12 | 8 | -69/+198 | |
| | ||||||
* | Nest paths | Aleksey Kladov | 2018-01-12 | 3 | -20/+24 | |
| | ||||||
* | Support tree rebalancing | Aleksey Kladov | 2018-01-12 | 5 | -29/+86 | |
| | ||||||
* | Encapsulate position | Aleksey Kladov | 2018-01-11 | 1 | -2/+5 | |
| |