Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax doc is extremely out of date #229

Open
bferguson3 opened this issue Jun 28, 2024 · 3 comments
Open

Syntax doc is extremely out of date #229

bferguson3 opened this issue Jun 28, 2024 · 3 comments
Assignees

Comments

@bferguson3
Copy link

Almost none of the examples will compile and run. I can't learn the language like this so unfortunately I have nothing further to give.

https://www.moonbitlang.com/docs/syntax/

@peter-jerry-ye
Copy link
Collaborator

The syntax is fine, but the runner is outdated.

@goflyboy
Copy link

按这个文档操作写一个helloworld,操作第五步,报下列错误,error: main is not a package

@bzy-debug
Copy link
Collaborator

按这个文档操作写一个helloworld,操作第五步,报下列错误,error: main is not a package

感谢反馈,这是因为我们前两周更新了新建项目的文件布局。

现在你可以使用

moon run src/main

来运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants