Skip to content
Brendan Hansen edited this page Nov 30, 2021 · 8 revisions

The Onyx Programming Language

Onyx is a strongly-typed, imperative programming language targeting WebAssembly. Even through WebAssembly is the sole compilation target for Onyx, Onyx bundles Wasmer to allow for seamless execution of code right from the compiler. The compiler aims to be as fast as possible, allowing for a scripting-language-like programming experience, while providing complete type safety.

Features

Onyx has several powerful high-level features that make programming with it painless. Here's a short-list of some of the features:

  • Robust type-inference
  • Polymorphism
  • Operator overloading
  • Macros

History

This project was started for me to learn the ins and outs of compiler and programming language design. I do not intend for this language to be used for anything "professional". It is purely for me to learn and experiment with compiler architecture. To that end, I believe I have made a considerable amount of progress towards a "real" and "professional" programming language.

If you are interested in trying out Onyx, see the Installation page.

Clone this wiki locally