Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 948 Bytes

README.md

File metadata and controls

41 lines (25 loc) · 948 Bytes

MoonBit Language Tour

view the Chinese version of this file.

An interactive tour to learn the MoonBit programming language.

Get started

pnpm install
pnpm build
pnpm preview

open http://localhost:3000 to view the tour.

How to add new tour

Add new lesson

  1. Setup development environment.

    pnpm install
    pnpm dev
  2. open http://localhost:8080 to view the tour.

  3. Create a new folder under the chapter folder following the naming convention lesson<n>_<lesson-name> (count start from 1).

  4. Write the lesson content in index.md and lesson code in index.mbt under the created folder.

Add new chapter

  1. Create a new folder under tour following the naming convention chapter<n>_<chapter-name>.
  2. Add new lessons following the instruction above.

Credit

This project is highly inspired by Gleam Language Tour.