-
I sometimes report issues related latest `babel/parser`. When I report, I use the local babel repository to reproduce problems. That's because there is no way to see the latest `@babel/parser` behavio…
-
## Refs
1. acorn: 解析内核, 在线工具 [AST Explorer](https://astexplorer.net)
2. recast: node.js 环境下可以直接用npm安装 [recast](https://www.npmjs.com/package/recast)
-
When we got this problem in the `remix` repo (https://github.com/remix-run/remix/pull/3987), I reported this in the `jscodeshift` repo (https://github.com/facebook/jscodeshift/issues/520), but since a…
-
```rust
macro_rules! maybe_return { ($e:expr) => ($e); }
fn frob(x: i32) -> i32{
maybe_return! {x}
// should return -1
-1
}
```
results in an ice with the version of gccrs on …
-
Open [this AST Explorer example](http://astexplorer.net/#/gist/0a3ad62148aeacd8efce2c2228a1bd07/2da72cd14f6ab2ee4c2feebc9078eef7dd3c9d1d).
The `ObjectExpression` returned by the function has both `…
-
The official AST explorer supports way more languages, eg. Lua or Go
-
The source code I am parsing uses `[[clang::annotate]]` on a class declaration, however that annotation is not always visible in the AST.
In the following source, only `Test01` and `Test02` ClassDecl…
-
## `impl Trait` type expands to a recursive type [`E0720`](https://doc.rust-lang.org/error_codes/E0720.html)
- You can view the same on [`godbolt`](https://godbolt.org/#z:OYLghAFBqd5QCxAYwPYBMCm…
-
I believe I've stumbled onto a bug in jscodeshift: I created a transform to convert
```
(a && b) || c();
```
to
```
if (!(a && b)) {
c();
}
```
However, when I wrap the initial `LogicalE…
-
We already handle `__builtin_assume` calls inside the `BuiltinFunctionChecker`.
We should also handle the attribute variant of this, e.g.:
https://compiler-explorer.com/z/oq6nY7eqE
```c++
void cla…