Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | check style for assist docs | Aleksey Kladov | 2019-10-26 | 1 | -0/+6 | |
| | ||||||
* | add blank lines for readability | Aleksey Kladov | 2019-10-26 | 1 | -1/+1 | |
| | ||||||
* | generate more assists docs | Aleksey Kladov | 2019-10-25 | 1 | -3/+7 | |
| | ||||||
* | auto-generate assists docs and tests | Aleksey Kladov | 2019-10-25 | 2 | -22/+126 | |
| | ||||||
* | refactor comment extraction from tasks | Aleksey Kladov | 2019-10-24 | 1 | -38/+20 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-10-24 | 1 | -14/+13 | |
| | ||||||
* | xtask: don't depend on itertools | Aleksey Kladov | 2019-10-23 | 1 | -17/+22 | |
| | | | | xtask should be fast to compiler, as it's a gateway to rust-analyzer | |||||
* | xtask: move codegen to a module | Aleksey Kladov | 2019-10-23 | 2 | -0/+504 | |