The Kestrel Programming Language.

Overview

Kestrel Programming Language

Minimum rustc 1.61 Pages Build Deployment MIT License

The Kestrel Programming Language is a statically and strongly typed, compiled programming language written in Rust.

Features

  • Ahead of time compilation - Kestrel is compiled ahead of time (AOT), instead of being interpreted or JIT compiled. AOT compilation allows Kestrel to catch entire classes of runtime errors, vastly improving the developer experience.

  • Statically typed - Kestrel resolves types at compile time, resulting in immediate warnings and feedback.

  • Performance - AOT compilation means that Kestrel programs are compiled directly to machine code, allowing programs to be executed on any target platform natively, with blazing fast performance.

  • Helpful compiler - Descriptive and detailed error messages improve the debugging experience.

  • Memory safe - Data ownership and references enforce what are good practices in other languages and eliminate an entire class of errors.

Depenendencies

See more details.

  • inkwell (using llvm10-0)

Kestrel is written in Rust, and is currently system-independent.

Usage

See an example here.

kestrel [--version | --help] [--err <error> | --warn <warning>] [<program>]

Links

You might also like...
lints and suggestions for the nix programming language

statix Lints and suggestions for the Nix programming language. statix highlights antipatterns in Nix code. statix --fix can fix several such occurrenc

 Gecko is a high-level, general-purpose programming language built on top of the LLVM project.
Gecko is a high-level, general-purpose programming language built on top of the LLVM project.

Gecko is a high-level, general-purpose programming language built on top of the LLVM project. Gecko Technology & principles Gecko is a general-purpose

This repository contains the source of "The Rust Programming Language" book.

The Rust Programming Language This repository contains the source of "The Rust Programming Language" book. The book is available in dead-tree form fro

A short exercise to introduce people to the Rust programming language

Searching primes by brute force This code is ment to be an exercice to teach rust and give a first impression on how to work with the language during

A turing-complete programming language using only zero-width unicode characters, inspired by brainfuck and whitespace.

Zero-Width A turing-complete programming language using only zero-width unicode characters, inspired by brainfuck and whitespace. Currently a (possibl

The Rust Programming Language, Chapter 8, Exercise 1

Rust Common Collections - Exercise 1 In the book The Rust Programming Language by Steve Klabnik and Carol Nichols, chapter 8 - Common Collections - pr

clone of grep cli written in Rust. From Chapter 12 of the Rust Programming Language book

minigrep is a clone of the grep cli in rust Minigrep will find a query string in a file. To test it out, clone the project and run cargo run body poem

The Rust Compiler Collection is a collection of compilers for various languages, written with The Rust Programming Language.

rcc The Rust Compiler Collection is a collection of compilers for various languages, written with The Rust Programming Language. Compilers Language Co

The Ribbon Programming Language, made in Rust.

The Ribbon Programming Language (WIP) This language is designed to be quick to write and is heavily inspired by Rust, which is also the language it wa

Comments
  • Calling method on dyn type causes SEGFAULT

    Calling method on dyn type causes SEGFAULT

    Calling method on dyn object causes a SEGFAULT.

    To reproduce:

    struct s {
        x: u32,
    }
    
    trait t {
        x: u32
        fn func(dyn t, i32)
    }
    
    impl t for s {
        fn func(_a: dyn t, _b: i32) {
    
        }
    }
    
    fn main() {
        let st = s{x = 10u32}
        let x: dyn t = st
        x.func(2)
    }
    

    Information: By trial and error, x.func(2) causes the SEGFAULT. In addition, it appears that (functype.rs:40)[https://github.com/EricLBuehler/Kestrel-Programming-Language/blob/0be3a3f4414429115ce311f41e1ce7e8a9db07df/src/codegen/builtin_types/functype.rs#L40] causes the SEGFAULT. Note that the SEGFAULT occurs at runtime.

    bug 
    opened by EricLBuehler 1
  • Compilation fails

    Compilation fails

    During compilation, gcc fails with:

    Stderr:
    /usr/bin/ld: /tmp/ccljd1vU.o: relocation R_X86_64_32S against symbol `vtable' can not be used when making a PIE object; recompile with -fPIE
    collect2: error: ld returned 1 exit status
    
    opened by EricLBuehler 1
Owner
Eric Buehler
Eric Buehler
A repository for showcasing my knowledge of the Rust programming language, and continuing to learn the language.

Learning Rust I started learning the Rust programming language before using GitHub, but increased its usage afterwards. I have found it to be a fast a

Sean P. Myrick V19.1.7.2 2 Nov 8, 2022
Nyah is a programming language runtime built for high performance and comes with a scripting language.

?? Nyah ( Unfinished ) Nyah is a programming language runtime built for high performance and comes with a scripting language. ??️ Status Nyah is not c

Stacker 3 Mar 6, 2022
lelang programming language is a toy language based on LLVM.

lelang leang是一门使用Rust编写,基于LLVM(inkwell llvm safe binding library)实现的编程语言,起初作为课程实验项目,现在为个人长期维护项目。 Target Features 支持8至64位的整形类型和32/64位浮点 基本的函数定义,调用,声明外部

Aya0wind 5 Sep 4, 2022
Nixt is an interpreted programming language written in Rust

Nixt Nixt is an interpreted lisp inspired programming language written in Rust Index About Examples Installation Build About Nixt goal is to provide a

Wafelack 17 Jul 18, 2022
A programming language somewhat resembling cellular processes.

cytosol An embeddable programming language somewhat resembling cellular processes. State of the implementation tokenising parsing semantic analysis an

null 33 Sep 14, 2022
Orion lang is a lispy programming language that is strongly and statically typed.

Orion Orion is a lisp inspired statically typed programming language written in Rust Install To install orion you can either: Download binary from the

Wafelack 226 Dec 17, 2022
Mote is a systems-programming language designed to be practical, performant, and simple.

Mote NOTE: this following lists the goals for what Mote is supposed to be. It does not promise that any of the features here will be accomplished or a

The Mote Programming Language 14 Jul 28, 2021
a function programming language for real world applications made in rust

a function programming language for real world applications made in rust

Tanay Pingalkar 6 Jun 12, 2022
Rust implementation of µKanren, a featherweight relational programming language.

µKanren-rs This is a Rust implementation of µKanren, a featherweight relational programming language. See the original Scheme implementation here for

Eric Zhang 99 Dec 8, 2022
A stack based interpreted programming language.

Nightmare Nightmare is a dynamically-typed, procedural programming language that aims to be fast & simple. let user = input() as Int; print("You were

&potato 4 Nov 12, 2021