Skip to content

lainsce/yis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

224 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yis

Vala was the war. Yis is the spoils.

This repository contains:

  • yis: the Yis language compiler (C11)

Requirements

  • C compiler (cc) with C11 support
  • Meson
  • Ninja

Example (macOS/Homebrew):

brew install meson ninja

Build Yis

meson setup build
meson compile -C build

Run the compiler from the build tree:

./build/yis --help
./build/yis examples/hello.yi
./build/yis run examples/hello.yi

Optional Install

Install Yis and stdlib:

meson install -C build

Useful Environment Variables

  • YIS_STDLIB: override stdlib path
  • YIS_CACHE_DIR: cache directory for compiled binaries
  • YIS_NO_CACHE=1: disable binary cache
  • YIS_KEEP_C=1: keep generated C files
  • YIS_CC_FLAGS: extra C compiler flags
  • NO_COLOR=1: disable colored compiler output

About

The Yis Programming Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages