/Wyr

Wyr language - A simplified IL for languages targeting NASM

Primary LanguageVMIT LicenseMIT


Logo

Wyr

A simple intermediate language compiling to NASM

Explore the docs »

View Demo . Report Bug . Request Feature

Contributors Stargazers Issues License

About The Project

Screen Shot

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

Built With

This project uses pure V lang

Getting Started

Getting started with wyr is easy.

Prerequisites

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

Installation

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

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Authors

  • Artur Z - NASM noob - Artur Z - Building Wyr

Acknowledgements