-
Notifications
You must be signed in to change notification settings - Fork 4
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
short tutorial "lingascript in 5 min" #19
Comments
FYI below works as I tested: 接口 人 {
姓: 文字;
名: 文字;
}
函数 问好(那谁: 人) {
返回 "吃了么, " + 那谁.姓 + 那谁.名;
}
变量 路人 = {姓: "大", 名: "黄"};
document.body.innerHTML = 问好(路人); |
@nobodxbodon 我建議用 Javascript 相容語法來介紹的就好,可以便於讓更多人理解。 |
好的. 上面的例程是取自TS官方文档TypeScript in 5 minutes. |
赞! 不知是否已有介绍文章? 如果有的话, 请问是否可以在知乎等社区发表/转载? |
LingaScript 相關實現文章 https://blog.gasolin.idv.tw/2019/03/08/introducing_lingascript/ 歡迎轉載 |
刚写了篇实测文. 感觉IDE支持还是蛮需要的, 后缀是 |
Similar to this tutorial written for CTS. It can be a first 'real-world' test case.
I'll start the document in a separate repo for now.
The text was updated successfully, but these errors were encountered: