-
attempting a workaround for #2036
offending code:
```python
from lpython import (i32, Union)
foo : dict[str, tuple[list[i32], str]]
foo = {'ttype': ([], 'dimensions'),
'contents'…
-
I completed all features discussed so far. From this point on, I think I only do bug fixes, source code improvement and refactors and add more tests.
Please open an issue if you find some feature is …
-
| | |
| --- | --- |
| Bugzilla Link | [35333](https://llvm.org/bz35333) |
| Version | trunk |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
## Extended Description
In KDevelop, we use li…
-
| | |
| --- | --- |
| Bugzilla Link | [13618](https://llvm.org/bz13618) |
| Version | trunk |
| OS | Windows NT |
| Reporter | LLVM Bugzilla Contributor |
| CC | @zygoloid |
## Extended Description…
-
offending code:
```python
from lpython import dataclass, i32
@dataclass
class foo:
bar : list[i32] = [] ######### INCORRECT ###########
```
run:
```bash
# CPYTHON
(lp) ┌─(~…
-
Collect all functions, classes and other items (reuse/modify `visitor.Item`), together with their source locations, fully qualified names, how many times each item is referenced, etc. (Keep the AST no…
-
Hi. I have a use case where I need to _remove_ nodes from the AST as part of a custom precompilation step. I want to walk the AST and remove certain helpers nodes, but there doesn't seem to be a way t…
-
## Bug Report
Minimal reproduction code
```crystal
module GreatApp
->{ super }
end
```
```sh
$ crystal run crystal_bug.cr
Crystal::Def#owner cannot be nil (NilAssertionError)
from /cry…
-
Attempted to build the master branch of creduce on Fedora 35 after installing the dependencies. Fedora 32 is using LLVM-13. The build fails:
```
g++ -DHAVE_CONFIG_H -I. -I.. -I"/usr/include/cl…
-
之前写过关于怎么构造一个属于自己的 DSL 的博客--[如何构造属于自己的 DSL —— PEG.js 使用指南](https://github.com/zhangxiang958/Blog/issues/54),借助了 pegjs 这样的工具来完成,但是如果自行实现一个对于某些语法 ast 解析过程,将会更好理解 pegjs 这种工具的原理甚至能从中获取到灵感从而运用到项目中的效率工程中。
…