2439905184 / 2439905184/Simple-language
关于变量的设计 草案1
- 主要语言
- Java
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
格式 <表示格式> 实际代码不需要<>
```js
var <变量名> = <值>
```
调用函数后的返回值
```js
var fruitName = "apple"
changeFruitName("banana") -> a
print a
//a is "banana" now
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
The issue describes a design draft for variable assignment and function return value handling in a simple language. Start by examining the existing language implementation in the repository to understand the current syntax and semantics. Look for files related to parsing, evaluation, and variable binding. Determine how to modify the grammar and interpreter to support the proposed syntax where a function call's return value can be assigned implicitly. Testing changes will require updating or creating test cases for the new behavior.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- compilers
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100