Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
|/ | |||||
* | Don't store generated docs in the repo | Aleksey Kladov | 2020-06-03 | 1 | -5/+6 |
| | |||||
* | Link to the specific source line | Aleksey Kladov | 2020-05-31 | 2 | -2/+5 |
| | |||||
* | Move assists documentation into the manual | Aleksey Kladov | 2020-05-31 | 2 | -53/+40 |
| | |||||
* | Force / slashes on windows | Aleksey Kladov | 2020-05-31 | 1 | -2/+3 |
| | |||||
* | Tweak whitespace | Aleksey Kladov | 2020-05-31 | 1 | -2/+2 |
| | |||||
* | Move the rest of the features to generated docs | Aleksey Kladov | 2020-05-31 | 1 | -2/+2 |
| | |||||
* | Specify actions | Aleksey Kladov | 2020-05-31 | 1 | -5/+20 |
| | |||||
* | Generate features docs from source | Aleksey Kladov | 2020-05-31 | 1 | -0/+72 |
| | |||||
* | Generalize | Aleksey Kladov | 2020-05-30 | 1 | -7/+3 |
| | |||||
* | minor | Aleksey Kladov | 2020-05-30 | 1 | -71/+73 |
| | |||||
* | Add ast docs to codegen script | veetaha | 2020-05-10 | 1 | -2/+23 |
| | |||||
* | Regenerate | Aleksey Kladov | 2020-05-06 | 1 | -2/+2 |
| | |||||
* | 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 | ||||
* | gen_assists_docs skip hidden files | Josh Mcguigan | 2020-03-21 | 1 | -7/+3 |
| | |||||
* | 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 |
| | |||||
* | Some docs | Aleksey Kladov | 2020-02-27 | 1 | -0/+2 |
| | |||||
* | Doctest autoimport | Aleksey Kladov | 2020-02-06 | 1 | -9/+33 |
| | |||||
* | 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 | 2 | -3/+3 |
| | | | | closes #1569 | ||||
* | Switch ast declaration from ron to a macro | Aleksey Kladov | 2020-01-03 | 1 | -136/+98 |
| | |||||
* | Use anyhow::Result in xtask, add contexts | Pascal Hertleif | 2019-11-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This builds on #2231 but was actually done before that. You see, the cause for #2231 was that I got this error message: Error: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } Just switching to `anyhow::Result` got me stack traces (when setting `RUST_LIB_BACKTRACE=1`) that at least showed stack backtrace: 0: std::backtrace::Backtrace::create 1: std::backtrace::Backtrace::capture 2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from 3: xtask::install_server 4: xtask::install 5: xtask::main 6: std::rt::lang_start::{{closure}} 7: std::panicking::try::do_call 8: __rust_maybe_catch_panic 9: std::rt::lang_start_internal 10: std::rt::lang_start 11: main With the added contexts (not at all exhaustive), the error became Error: install server Caused by: 0: build AutoCfg with target directory 1: No such file or directory (os error 2) Since anyhow is such a small thing (no new transitive dependencies!), and in general gives you `Result<T, Box<dyn Error>>` on steroids, I think this a nice small change. The only slightly annoying thing was to replace all the `Err(format!(…))?` calls (haven't even looked at whether we can make it support wrapping strings though), but the `bail!` macro is shorter anyway :) | ||||
* | Some clippy fixes | kjeremy | 2019-10-30 | 2 | -6/+4 |
| | |||||
* | use unicode bar for drawing the cursor | Aleksey Kladov | 2019-10-26 | 1 | -2/+6 |
| |