@kengorab/abra_wasm

🧙‍♂️A small programming language with static typing and a bytecode VM, written in Rust


Keywords
pratt-parser, programming-language, rust
Install
npm install @kengorab/abra_wasm@0.8.1

Documentation

Abra

A small programming language, written in Rust

Build & Test

This project is very much a work in progress: you can check the documentation site for more information

Getting Started

Download the latest abra binary from the Releases page. You should then be able to run

abra run my-file.abra

What's it look like?

It should look familiar, a lot of inspiration was drawn from modern languages like Swift and Kotlin:

func fib(n: Int): Int {
  if (n == 0) {
    0
  } else if (n == 1) {
    1
  } else {
    fib(n - 2) + fib(n - 1)
  }
}

println(fib(10))

You can also see and play with more examples on the Try It Out page of the language documentation site.