3body-lang icon indicating copy to clipboard operation
3body-lang copied to clipboard

可以将 “思想钢印” 的概念 加入吗 比如类似 rust的panic! Result枚举这种

Open Zourunfa opened this issue 1 year ago • 7 comments

  1. 可以将 “思想钢印” 的概念 加入吗 比如类似 rust的panic! Result枚举这种

Can we add the concept of "thought stamping", such as a panic like rust! Result Enumerates this

2.最近也再学习rust,这个过程充满兴奋和惊喜,也想快速投入实战,能不能把此项目结构,和基本逻辑介绍在readme,然后适合我这种菜鸡参与此开源项目 Recently, I have also learned about Trust. Can you introduce the structure and basic logic of this project in Readme, and then it is suitable for me to participate in this open source project

Zourunfa avatar Mar 28 '23 05:03 Zourunfa

思想钢印不错!可以搞一下

逻辑我会梳理一下

meloalright avatar Mar 30 '23 15:03 meloalright

carbon (2)

感觉这个更合适!

meloalright avatar Aug 27 '23 03:08 meloalright

https://github.com/rustq/3body-lang/pull/19

meloalright avatar Aug 27 '23 04:08 meloalright

image

这里第二个 是一个新的变量覆盖之前的变量是吗, 相当于只是 let 不是 const ?

    // const 水 = "剧毒的";
    let 水 = "剧毒的";
    let mut 水 = "无害的";
    println!("{水}");

Equationzhao avatar Oct 29 '23 15:10 Equationzhao

image

这里第二个 是一个新的变量覆盖之前的变量是吗, 相当于只是 let 不是 const ?


    // const 水 = "剧毒的";

    let 水 = "剧毒的";

    let mut 水 = "无害的";

    println!("{水}");

应该是 bug 🧐

meloalright avatar Oct 30 '23 14:10 meloalright

image

这里第二个 是一个新的变量覆盖之前的变量是吗, 相当于只是 let 不是 const ?


    // const 水 = "剧毒的";

    let 水 = "剧毒的";

    let mut 水 = "无害的";

    println!("{水}");

应该是 bug 🧐

https://github.com/rustq/3body-lang/issues/34

meloalright avatar Oct 30 '23 14:10 meloalright

image 这里第二个 `水` 是一个新的变量覆盖之前的变量是吗, 相当于只是 `let` 不是 `const` ? ```rust // const 水 = "剧毒的";
let 水 = "剧毒的";

let mut 水 = "无害的";

println!("{水}");

应该是 bug 🧐

#34

0.4.1 修复了这个问题 @Equationzhao 直接 brew reinstall three-body 即可!

截屏2023-11-04 18 30 37

meloalright avatar Nov 04 '23 10:11 meloalright