Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Improve reparse fuzz test | pcpthm | 2019-03-21 | 1 | -1/+13 | |
| | ||||||
* | Fix an arithmetic overflow in reparser | pcpthm | 2019-03-21 | 3 | -5/+11 | |
| | ||||||
* | Add fuzz test for reparsing | pcpthm | 2019-03-21 | 4 | -1/+64 | |
| | ||||||
* | Refactor parser fuzz testing | pcpthm | 2019-03-21 | 5 | -16/+23 | |
| | ||||||
* | Error about attributes on | pcpthm | 2019-03-19 | 2 | -0/+59 | |
| | | | | unallowed types of expression statement | |||||
* | Allow attributes on top level expression | pcpthm | 2019-03-19 | 4 | -0/+152 | |
| | | | | | | A top level expression is either - a expression statement or - the last expression in a block | |||||
* | Merge #991 | bors[bot] | 2019-03-18 | 8 | -10/+88 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 991: Use Marker argument for item parsers r=matklad a=pcpthm Before doing this for expressions, I found that the pattern (Marker argument) should be applied to the item parsers because visiblity and modifiers are parsed in a separate function. Fixed some parser bugs: - Fix pub_expr: `pub 42;` was allowed. - Fix incorrect parsing of crate::path: incorrectly parsed as `crate` as a visibility. Co-authored-by: pcpthm <[email protected]> | |||||
| * | Use Marker argument for item parsers | pcpthm | 2019-03-18 | 8 | -10/+88 | |
| | | | | | | | | | | - Fix pub_expr - Fix incorrect parsing of crate::path | |||||
* | | Merge #983 | bors[bot] | 2019-03-17 | 2 | -0/+217 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 983: support remainder assignment operator r=matklad a=JeanMertz `%=` was returning errors for me, turns out it wasn't added as a valid assignment operation. I'm not sure what the best location would be to add a test for this. Please let me know and I'll add one. Co-authored-by: Jean Mertz <[email protected]> | |||||
| * | | support remainder assignment operator | Jean Mertz | 2019-03-17 | 2 | -0/+217 | |
| | | | ||||||
* | | | Fix parse tree of attribute on match arm | pcpthm | 2019-03-17 | 3 | -118/+118 | |
| |/ |/| | ||||||
* | | Allow attribute on struct literal field | pcpthm | 2019-03-17 | 2 | -0/+48 | |
| | | ||||||
* | | add name resolution from the old impl | Aleksey Kladov | 2019-03-17 | 3 | -7/+5 | |
|/ | | | | unlike the old impl, this also handles macro imports across crates | |||||
* | Add test for minus in inner pattern | Michael Chesser | 2019-03-14 | 2 | -0/+347 | |
| | ||||||
* | Add test for async block | Caio | 2019-03-10 | 2 | -0/+32 | |
| | ||||||
* | Add async keyword | Caio | 2019-03-09 | 5 | -1/+21 | |
| | ||||||
* | Add support for parsing multiple if and while-let patterns | Ville Penttinen | 2019-03-04 | 2 | -1/+164 | |
| | ||||||
* | allow `mut ident` patterns in trait methods | Aleksey Kladov | 2019-03-04 | 2 | -11/+26 | |
| | | | | closes #928 | |||||
* | allow aliases in underscores | Aleksey Kladov | 2019-03-04 | 2 | -1/+17 | |
| | | | | | | | | this helps with use foo::Trait as _; syntax | |||||
* | Merge #926 | bors[bot] | 2019-03-04 | 2 | -0/+50 | |
|\ | | | | | | | | | | | | | | | 926: allow vararg functions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | allow vararg functions | Aleksey Kladov | 2019-03-04 | 2 | -0/+50 | |
| | | ||||||
* | | improve error recovery | Aleksey Kladov | 2019-03-04 | 3 | -42/+70 | |
|/ | | | | parse the contents of error block as an expression | |||||
* | Remove `TypeRef` from item opts which implement TypeAscriptionOwner | Ville Penttinen | 2019-02-27 | 2 | -33/+14 | |
| | ||||||
* | Add new trait TypeAscriptionOwner | Ville Penttinen | 2019-02-26 | 3 | -9/+36 | |
| | | | | | This trait should be implemented for nodes which have an ascribed type, e.g. thing : Type. Such as let, const, static, param, named struct fields. | |||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 31 | -89/+89 | |
| | ||||||
* | complete struct literals | Aleksey Kladov | 2019-02-24 | 1 | -0/+6 | |
| | ||||||
* | support upcastig in AST enum | Aleksey Kladov | 2019-02-24 | 2 | -0/+407 | |
| | ||||||
* | introduce tree builder | Aleksey Kladov | 2019-02-23 | 3 | -20/+61 | |
| | ||||||
* | rename | Aleksey Kladov | 2019-02-23 | 4 | -23/+19 | |
| | ||||||
* | Merge #876 | bors[bot] | 2019-02-21 | 1 | -1/+6 | |
|\ | | | | | | | | | | | | | | | 876: Fix join_lines not adding a comma after join_single_expr_block with match arm r=matklad a=vipentti Fixes #868 Co-authored-by: Ville Penttinen <[email protected]> | |||||
| * | Move `non_trivia_sibling` to `ra_syntax::algo` | Ville Penttinen | 2019-02-21 | 1 | -1/+6 | |
| | | ||||||
* | | add API guide to ra_syntax | Aleksey Kladov | 2019-02-21 | 1 | -0/+173 | |
|/ | ||||||
* | simplify trait bounds | Aleksey Kladov | 2019-02-21 | 1 | -12/+18 | |
| | ||||||
* | rearrange methods | Aleksey Kladov | 2019-02-21 | 1 | -67/+67 | |
| | ||||||
* | kill utils module | Aleksey Kladov | 2019-02-21 | 7 | -104/+96 | |
| | ||||||
* | Ignore lockfile in fuzz | Aleksey Kladov | 2019-02-21 | 2 | -521/+1 | |
| | | | | It's too much trouble maintaining it | |||||
* | docs | Aleksey Kladov | 2019-02-21 | 8 | -83/+104 | |
| | ||||||
* | fix compilation | Aleksey Kladov | 2019-02-21 | 7 | -52/+31 | |
| | ||||||
* | move parser to a separate crate | Aleksey Kladov | 2019-02-21 | 21 | -4217/+0 | |
| | ||||||
* | make grammar independent of syntax tree | Aleksey Kladov | 2019-02-21 | 2 | -14/+18 | |
| | ||||||
* | minor | Aleksey Kladov | 2019-02-21 | 1 | -1/+1 | |
| | ||||||
* | move whitespace handling to tree builder | Aleksey Kladov | 2019-02-21 | 4 | -188/+159 | |
| | ||||||
* | move syntax error to parser | Aleksey Kladov | 2019-02-20 | 6 | -25/+24 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-02-20 | 5 | -29/+4 | |
| | ||||||
* | remove TokenPos | Aleksey Kladov | 2019-02-20 | 3 | -49/+28 | |
| | ||||||
* | flattern module structure | Aleksey Kladov | 2019-02-20 | 5 | -14/+30 | |
| | ||||||
* | merge parse_impl and parser_api | Aleksey Kladov | 2019-02-20 | 2 | -171/+102 | |
| | ||||||
* | fix off by one error | Aleksey Kladov | 2019-02-20 | 1 | -1/+1 | |
| | ||||||
* | move abstract traits to top | Aleksey Kladov | 2019-02-20 | 4 | -65/+59 | |
| | ||||||
* | switch to dynamic dispatch for TokenSource | Aleksey Kladov | 2019-02-20 | 2 | -9/+7 | |
| | | | | | | | | | | | Benchmarks show no difference. This is probably because we are bottlenecked on memory allocations, and we should fix that, but we are not optimizing for performance just yet. changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch token-source # Changes to be committed: # modified: crates/ra_syntax/src/parsing/parser_api.rs # modified: crates/ra_syntax/src/parsing/parser_impl.rs # |