All Projects → kengorab → abra-lang

kengorab / abra-lang

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

Programming Languages

rust
11053 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to abra-lang

codeparser
Parse Wolfram Language source code as abstract syntax trees (ASTs) or concrete syntax trees (CSTs)
Stars: ✭ 84 (+460%)
Mutual labels:  pratt-parser
tdop.github.io
Reprinting Vaughan Pratt's Paper on Top Down Operator Precedence Parsing
Stars: ✭ 99 (+560%)
Mutual labels:  pratt-parser
Gravity
Gravity Programming Language
Stars: ✭ 3,968 (+26353.33%)
Mutual labels:  pratt-parser
pratt-calculator
A very simple expression evaluator written using a Pratt Parser
Stars: ✭ 22 (+46.67%)
Mutual labels:  pratt-parser

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].