A simple intermediate language compiling to NASM
Explore the docs »
View Demo
.
Report Bug
.
Request Feature
Wyr is a simple language that translates *.wyr files into NASM code. It's a hobby project and is for me to learn NASM, so if any issues arise please create an issue with details.
Why Wyr?
- Wyr is simple
- Wyr is clean
- Wyr usually works
Why NOT Wyr?
- Wyr is currently not finished, and only implements really basic functionality
- Wyr doesn't use a proper lexer for token gen
This project uses pure V lang
Getting started with wyr is easy.
First you'll need to install vlang itself
- vlang
wget https://github.com/vlang/v/releases/latest/download/v_linux.zip
unzip v_linux.zip
cd v
sudo ./v symlink
- NASM & LD
sudo apt install nasm ld
To install wyr, just clone the repo. From there you can try an example
git clone git@github.com:HUSKI3/Wyr.git
cd Wyr
./build.sh examples/name.wyr
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Please also read through the Code Of Conduct before posting your first idea as well.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Artur Z - NASM noob - Artur Z - Building Wyr