# Installation
# Command Line Compiler
To install the compiler for CLI, run the following command
npm install -g @wenyanlang/cli
Try run the included examples, e.g.:
wenyan examples/helloworld.wy
# will outputs: 問天地好在。
From v0.1.0, the
wenyan
command will direct execute the script by default. If you are migrating from previous versions, please usewenyan -h
to output the help and check this PR for the detailed changes.
# Browser Runtime
You can now run wenyan scripts right in your html file.
Please refer to Browser Runtime