-
from gpt:
## **Understanding the Existing Structure**
Based on the modules you've provided and the previous classes we've created, here's a summary of key points relevant to creating the `ForRan…
-
from gpt:
## **Understanding the Existing Structure**
Based on the modules you've provided and the previous classes we've created, here's a summary of key points relevant to creating the `ForCou…
-
from gpt:
## **Understanding the Existing Structure**
Based on the modules you've provided and the previous classes we've created, here's a summary of key points relevant to creating the `Memb…
-
from gpt:
## **Understanding `TypeExpr`**
In the context of an Abstract Syntax Tree (AST), a **`TypeExpr`** (Type Expression) represents a type as an expression within the AST. This can include:…
-
We could implement it in two different ways, the first one, creating one class for each boolean operator (and, or, etc) or creating it as an operator kind.
In the below section, some implementation…
-
from gpt:
## **Updating the Design to Support Slices**
In Python's AST, the `Subscript` node has a `slice` attribute that can be:
- A `Constant` (for single indices, e.g., `a[1]`).
- A `Slic…
-
for more info, check this issue: https://github.com/arxlang/astx/issues/37
-
suggestion from gpt:
```python
# Add this code to src/astx/datatypes.py
from typing import Optional
from astx.base import (
NO_SOURCE_LOCATION,
ASTKind,
DataTypeOps,
Expr…
-
great work @jedwards1211 here.
which use cases cannot be handled by astx?
have you heard about semgrep? (they have data flow analysis, and built on top of tree-sitter)
also grit.io is building so…
-
https://github.com/py2many/py2many/blob/affbf1b6942a72af62dc6a7be353bb118546d189/tests/test_unsupported.py#L127
The last assert need to be translated into D as:
```
assert(not(len(a) != 0))
``…
mw66 updated
2 months ago