aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
Commit message (Collapse)AuthorAgeFilesLines
* Finish SourceFile grammarAleksey Kladov2020-07-292-1/+2
|
* Rename ModuleItem -> ItemAleksey Kladov2020-07-291-20/+20
|
* Rename NomialDef -> AdtDefAleksey Kladov2020-07-291-1/+1
|
* Switch to ungrammar from ast_srcAleksey Kladov2020-07-292-4/+749
| | | | | | | | | | | | | | | | | | 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 IRAleksey Kladov2020-07-291-14/+15
|
* Merge #4855bors[bot]2020-06-121-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 codeVeetaha2020-06-111-2/+2
| |
* | SimplifyVeetaha2020-06-121-1/+1
|/
* Don't store generated docs in the repoAleksey Kladov2020-06-031-5/+6
|
* Link to the specific source lineAleksey Kladov2020-05-312-2/+5
|
* Move assists documentation into the manualAleksey Kladov2020-05-312-53/+40
|
* Force / slashes on windowsAleksey Kladov2020-05-311-2/+3
|
* Tweak whitespaceAleksey Kladov2020-05-311-2/+2
|
* Move the rest of the features to generated docsAleksey Kladov2020-05-311-2/+2
|
* Specify actionsAleksey Kladov2020-05-311-5/+20
|
* Generate features docs from sourceAleksey Kladov2020-05-311-0/+72
|
* GeneralizeAleksey Kladov2020-05-301-7/+3
|
* minorAleksey Kladov2020-05-301-71/+73
|
* Add ast docs to codegen scriptveetaha2020-05-101-2/+23
|
* RegenerateAleksey Kladov2020-05-061-2/+2
|
* Introduce EffectExprAleksey Kladov2020-05-021-0/+1
|
* Group generated ast boilerplate apart from the interesting partveetaha2020-04-181-120/+130
|
* Rename some tokensAleksey Kladov2020-04-101-4/+4
|
* Better readabilityAleksey Kladov2020-04-101-2/+3
|
* Remove dead codeAleksey Kladov2020-04-101-11/+4
|
* Generate only minimal set of ineresting tokensAleksey Kladov2020-04-101-0/+35
|
* Scale token generation backAleksey Kladov2020-04-101-163/+19
|
* Convert more tokensAleksey Kladov2020-04-101-0/+2
|
* Other delimitersAleksey Kladov2020-04-101-0/+4
|
* Start replacing tokensAleksey Kladov2020-04-101-0/+4
|
* Semicolon tokenAleksey Kladov2020-04-101-2/+8
|
* More readable ast_src for keywordsAleksey Kladov2020-04-101-34/+56
|
* Simpler acessors for keywordsAleksey Kladov2020-04-091-8/+25
|
* Add _token suffix to token accessorsAleksey Kladov2020-04-091-0/+1
| | | | | I think this makes is more clear which things are : AstNode and which are : AstToken
* Put displays at the endAleksey Kladov2020-04-091-12/+16
|
* More compactAleksey Kladov2020-04-091-10/+2
|
* Move the rest of the tokens to generated/tokensAleksey Kladov2020-04-091-80/+90
|
* Move generated tokens to a separate fileAleksey Kladov2020-04-091-37/+61
|
* Start ast/generated/tokensAleksey Kladov2020-04-091-3/+7
|
* Prepare for spliting generated into tokens and nodesAleksey Kladov2020-04-091-1/+1
|
* Cleanup importAleksey Kladov2020-04-091-2/+5
|
* Scale back to only two traitsAleksey Kladov2020-04-091-29/+58
|
* Scale back the traitsAleksey Kladov2020-04-091-140/+28
|
* Add AstElement trait, generate tokens, support tokens in enumsLuca Barbieri2020-04-081-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
* gen_assists_docs skip hidden filesJosh Mcguigan2020-03-211-7/+3
|
* implementing Display for enums too.Fireassember2020-03-111-2/+8
|
* added fmt::Display as a supertrait for AstNode and changed generation.Fireassember2020-03-061-0/+6
|
* Some docsAleksey Kladov2020-02-271-0/+2
|
* Doctest autoimportAleksey Kladov2020-02-061-9/+33
|
* fix(xtask.gen_syntax.typo): add s to the verb that refers to the 3d personVeetaha2020-01-151-1/+1
|