-
When execute the sample code in "Evaluate the Response with AST tree matching":
https://github.com/ShishirPatil/gorilla/tree/main/eval
python ast_eval_th.py --api_dataset ../../data/api/torchhub_a…
-
This is just a reminder to a discussion between @oxisto and myself: https://github.com/Fraunhofer-AISEC/cpg/pull/1555/commits/9d02f6c76f975f39119bf8e844af4c4f5b4fa9c5
-
We are currently using sourceRange as our pointer to a specific place in the code, and backwards engineering where this is in the AST, the problem with this is the sourceRanges in the ast go stale as …
-
HIR is in a bad state, multiple efforts could be started to improve the current situation. One of those could reduce the amount of code by removing boilerplate code within HIR visitors.
Most visito…
-
- Should be a fast binary format. Usage of e.g. [Apache Thrift](https://thrift.apache.org/)
- Interoperability between tools
Use cases:
- Tables could be constructed faster using e.g. go-parglare…
-
No error is raised when the syntax in the source code passed to Ripper.sexp is incorrect:
```ruby
Ripper.sexp("1 +")
#=> nil
```
We should actually be getting this syntax error:
```
syntax …
-
I'm not sure where is the best place for such an API. Maybe in `ast-types`?
I created this issue in the Recast repo (instead of the `ast-types` repo) because it already has a `TreeCopier` implement…
-
The contents of `do` in the following code should be parsed as a sequence of let expression and x, but it's parsed as let expression in sequence of the sum and x.
```fsharp
do
let x = 1 in x …
-
@cmester0 and I were discussing how we could simplify & factorize backends, let's summarize things here.
There's a lot of boilerplate for implementing a backend currently:
- tuples are `Construc…
-
Currently, the TypeScript code lenses for implementations and references use the TypeScript "navigation tree", which is a light-weight AST, to identify positions in the code that might be "interesting…