Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Specify literal tokens | Aleksey Kladov | 2020-07-31 | 1 | -0/+1 |
| | |||||
* | Rename LambdaExpr -> ClosureExpr | Aleksey Kladov | 2020-07-31 | 1 | -1/+13 |
| | |||||
* | Work on expressions grammar | Aleksey Kladov | 2020-07-31 | 1 | -0/+3 |
| | |||||
* | Item is a Stmt | Aleksey Kladov | 2020-07-31 | 1 | -0/+3 |
| | |||||
* | Handwrite Stmt | Aleksey Kladov | 2020-07-31 | 1 | -25/+26 |
| | |||||
* | Rename TypeRef -> Type | Aleksey Kladov | 2020-07-31 | 1 | -1/+7 |
| | | | | | | | | | | The TypeRef name comes from IntelliJ days, where you often have both type *syntax* as well as *semantical* representation of types in scope. And naming both Type is confusing. In rust-analyzer however, we use ast types as `ast::Type`, and have many more semantic counterparts to ast types, so avoiding name clash here is just confusing. | ||||
* | Remove TypeAscriptionOwner | Aleksey Kladov | 2020-07-30 | 1 | -1/+0 |
| | |||||
* | Rename StructDef -> Struct | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-07-30 | 1 | -34/+24 |
| | |||||
* | Simplify codegen | Aleksey Kladov | 2020-07-30 | 1 | -21/+21 |
| | |||||
* | Rename TypeParamList -> GenericParamList | Aleksey Kladov | 2020-07-30 | 1 | -1/+1 |
| | |||||
* | Rename FnDef -> Fn | Aleksey Kladov | 2020-07-30 | 1 | -5/+2 |
| | |||||
* | Add comma list to use tree | Aleksey Kladov | 2020-07-30 | 1 | -0/+35 |
| | |||||
* | Finish SourceFile grammar | Aleksey Kladov | 2020-07-29 | 1 | -1/+1 |
| | |||||
* | Switch to ungrammar from ast_src | Aleksey Kladov | 2020-07-29 | 1 | -4/+220 |
| | | | | | | | | | | | | | | | | | | The primary advantage of ungrammar is that it (eventually) allows one to describe concrete syntax tree structure -- with alternatives and specific sequence of tokens & nodes. That should be re-usable for: * generate `make` calls * Rust reference * Hypothetical parser's evented API We loose doc comments for the time being unfortunately. I don't think we should add support for doc comments to ungrammar -- they'll make grammar file hard to read. We might supply docs as out-of band info, or maybe just via a reference, but we'll think about that once things are no longer in flux | ||||
* | Owned AST IR | Aleksey Kladov | 2020-07-29 | 1 | -14/+15 |
| | |||||
* | Merge #4855 | bors[bot] | 2020-06-12 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | 4855: Use more idiomatic style for lifetimes in generated code r=matklad a=Veetaha Co-authored-by: Veetaha <[email protected]> | ||||
| * | Use more idiomatic style for lifetimes in generated code | Veetaha | 2020-06-11 | 1 | -2/+2 |
| | | |||||
* | | Simplify | Veetaha | 2020-06-12 | 1 | -1/+1 |
|/ | |||||
* | Add ast docs to codegen script | veetaha | 2020-05-10 | 1 | -2/+23 |
| | |||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -0/+1 |
| | |||||
* | Group generated ast boilerplate apart from the interesting part | veetaha | 2020-04-18 | 1 | -120/+130 |
| | |||||
* | Rename some tokens | Aleksey Kladov | 2020-04-10 | 1 | -4/+4 |
| | |||||
* | Better readability | Aleksey Kladov | 2020-04-10 | 1 | -2/+3 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-04-10 | 1 | -11/+4 |
| | |||||
* | Generate only minimal set of ineresting tokens | Aleksey Kladov | 2020-04-10 | 1 | -0/+35 |
| | |||||
* | Scale token generation back | Aleksey Kladov | 2020-04-10 | 1 | -163/+19 |
| | |||||
* | Convert more tokens | Aleksey Kladov | 2020-04-10 | 1 | -0/+2 |
| | |||||
* | Other delimiters | Aleksey Kladov | 2020-04-10 | 1 | -0/+4 |
| | |||||
* | Start replacing tokens | Aleksey Kladov | 2020-04-10 | 1 | -0/+4 |
| | |||||
* | Semicolon token | Aleksey Kladov | 2020-04-10 | 1 | -2/+8 |
| | |||||
* | More readable ast_src for keywords | Aleksey Kladov | 2020-04-10 | 1 | -34/+56 |
| | |||||
* | Simpler acessors for keywords | Aleksey Kladov | 2020-04-09 | 1 | -8/+25 |
| | |||||
* | Add _token suffix to token accessors | Aleksey Kladov | 2020-04-09 | 1 | -0/+1 |
| | | | | | I think this makes is more clear which things are : AstNode and which are : AstToken | ||||
* | Put displays at the end | Aleksey Kladov | 2020-04-09 | 1 | -12/+16 |
| | |||||
* | More compact | Aleksey Kladov | 2020-04-09 | 1 | -10/+2 |
| | |||||
* | Move the rest of the tokens to generated/tokens | Aleksey Kladov | 2020-04-09 | 1 | -80/+90 |
| | |||||
* | Move generated tokens to a separate file | Aleksey Kladov | 2020-04-09 | 1 | -37/+61 |
| | |||||
* | Start ast/generated/tokens | Aleksey Kladov | 2020-04-09 | 1 | -3/+7 |
| | |||||
* | Prepare for spliting generated into tokens and nodes | Aleksey Kladov | 2020-04-09 | 1 | -1/+1 |
| | |||||
* | Cleanup import | Aleksey Kladov | 2020-04-09 | 1 | -2/+5 |
| | |||||
* | Scale back to only two traits | Aleksey Kladov | 2020-04-09 | 1 | -29/+58 |
| | |||||
* | Scale back the traits | Aleksey Kladov | 2020-04-09 | 1 | -140/+28 |
| | |||||
* | Add AstElement trait, generate tokens, support tokens in enums | Luca Barbieri | 2020-04-08 | 1 | -29/+269 |
| | | | | | | | | | - Adds a new AstElement trait that is implemented by all generated node, token and enum structs - Overhauls the code generators to code-generate all tokens, and also enhances enums to support including tokens, node, and nested enums | ||||
* | implementing Display for enums too. | Fireassember | 2020-03-11 | 1 | -2/+8 |
| | |||||
* | added fmt::Display as a supertrait for AstNode and changed generation. | Fireassember | 2020-03-06 | 1 | -0/+6 |
| | |||||
* | fix(xtask.gen_syntax.typo): add s to the verb that refers to the 3d person | Veetaha | 2020-01-15 | 1 | -1/+1 |
| | |||||
* | Use correct rustfmt for codegen | Aleksey Kladov | 2020-01-10 | 1 | -2/+2 |
| | | | | closes #1569 | ||||
* | Switch ast declaration from ron to a macro | Aleksey Kladov | 2020-01-03 | 1 | -136/+98 |
| | |||||
* | auto-generate assists docs and tests | Aleksey Kladov | 2019-10-25 | 1 | -22/+3 |
| |