빠른 시작
Vais 프로그래밍 언어를 빠르게 시작하는 방법입니다.
설치
먼저 Vais 컴파일러를 설치합니다:
cargo build --release
첫 번째 프로그램
다음 코드를 hello.vais 파일로 저장합니다:
F main() {
print("Hello, Vais!")
}
컴파일 및 실행
프로그램을 컴파일하고 실행합니다:
# 컴파일
./target/release/vaisc build hello.vais -o hello
# 실행
./hello
또는 직접 실행:
./target/release/vaisc run hello.vais