- A super light weight language that supports generic OOP programming which developed during study compile principle.
- Lexer
- Parser
- Semantic Analyse
- Code Generation
- VM, runtime, etc...
- Please be aware that the project is still in early development phase.
- Please check your compiler compatibility with
c++ 17before compile- We need at least
c++ 17featurestd::string_viewin all platforms - We need
c++ latestin Windows/VS toolchains
- We need at least
- Install command-line tools:
$ xcode-select --install- Install CMake:
$ brew install cmake- Completely clone the repo in a recursively mode:
$ git clone --recursive https://github.com/AlaricGilbert/yuuki-lang- Go into the directory, run the compile script:
$ cd yuuki-lang
$ ./build.sh- Install tools (Example code in Ubuntu, GCC toolchain)
$ apt-get update
$ apt-get insatll gcc g++ cmake- Completely clone the repo in a recursively mode:
$ git clone --recursive https://github.com/AlaricGilbert/yuuki-lang- Go into the directory, run the compile script:
$ cd yuuki-lang
$ ./build.sh- Then you can find results of compilations under
artifactsfolder.
-
Goto CMake website, install CMake and add CMake into
PATH -
Completely clone the repo in a recursively mode:
PS git clone --recursive https://github.com/AlaricGilbert/yuuki-langWe assume that MSVC was installed correctly in this context
- Go into the directory, run the compile script (USE POWERSHELL):
PS cd yuuki-lang
PS build.ps1You may need to modify bypass execution settings for your Powershell
We assume that MinGW (win32) was installed correctly in this context and added into PATH
- Go into the directory, run the compile script:
PS cd yuuki-lang
PS mkdir build
PS cd build
PS cmake .. -G"MinGW Makefiles"
PS makeThis project is licensed under MIT with below exceptions:
- You are not allowed to directly submit code this repo as your coursework.
Pull requests are welcomed!