Skip to content

w1zardme/kid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kid

Rust

Kid is a toy Rust-written interpreter.

Features

  • Written in pure Rust
  • C-like syntax
  • Variable bindings
  • Integers and booleans
  • Arithmetic expressions
  • Built-in functions
  • First-class and higher-order functions
  • Closures
  • String data structure
  • Array data structure
  • Hash data structure

Usage

let five = 5;
let ten = 10;

let add = fun(a, b) {
    return a + b;
};

let result = add(five, ten);

About

A toy Rust-written interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages