
Subscribe to zzz

Subscribe to zzz
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
打开:
https://github.com/starkware-libs/cairo-lang/releases/tag/v0.9.1
并使用以下方法安装它:pip3 install cairo-lang-0.9.1.zip
Cairo 使用 python3.7 进行了测试。 要使其与 python3.6 一起使用,您必须安装contextvars:pip3 install contextvars
\[ap\] = 1000; ap++
\[ap\] = 2000; ap++
\[ap\] = \[ap - 2\] + \[ap - 1\]; ap++
ret
end
编译:运行cairo-compile test.cairo --output test_compiled.json
运行:cairo-run \ --program=test_compiled.json --print_output \ --print_info --relocate_prints
在 http://localhost:8100/上运行--tracer标记为cairo-run
https://github.com/starkware-libs/cairo-lang/releases/tag/v0.9.1
打开:
https://github.com/starkware-libs/cairo-lang/releases/tag/v0.9.1
并使用以下方法安装它:pip3 install cairo-lang-0.9.1.zip
Cairo 使用 python3.7 进行了测试。 要使其与 python3.6 一起使用,您必须安装contextvars:pip3 install contextvars
\[ap\] = 1000; ap++
\[ap\] = 2000; ap++
\[ap\] = \[ap - 2\] + \[ap - 1\]; ap++
ret
end
编译:运行cairo-compile test.cairo --output test_compiled.json
运行:cairo-run \ --program=test_compiled.json --print_output \ --print_info --relocate_prints
在 http://localhost:8100/上运行--tracer标记为cairo-run
https://github.com/starkware-libs/cairo-lang/releases/tag/v0.9.1
代码设置:"editor.formatOnSave": true, "editor.formatOnSaveTimeout": 1500
在终端启动 Visual Studio Code 运行虚拟环境 并键入:code
代码设置:"editor.formatOnSave": true, "editor.formatOnSaveTimeout": 1500
在终端启动 Visual Studio Code 运行虚拟环境 并键入:code
No activity yet