view the Chinese version of this file.
An interactive tour to learn the MoonBit programming language.
pnpm install
pnpm build
pnpm previewopen http://localhost:3000 to view the tour.
-
Setup development environment.
pnpm install pnpm dev
-
open http://localhost:8080 to view the tour.
-
Create a new folder under the chapter folder following the naming convention
lesson<n>_<lesson-name>(count start from 1). -
Write the lesson content in
index.mdand lesson code inindex.mbtunder the created folder.
- Create a new folder under
tourfollowing the naming conventionchapter<n>_<chapter-name>. - Add new lessons following the instruction above.
This project is highly inspired by Gleam Language Tour.