Skip to content

singaraiona/k-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-RS

An open-source interpreter for the K6 programming language.

Currently it requires nightly version of Rust. Test it:

git clone git@github.com:singaraiona/k-rs.git
cd k-rs
cargo run

Basic functionality:

K\ 0.1.1
1>f:{{x+3}x}
{[x]{[x]x+3}@x}
1>f 12
15

K\ 0.1.1
1>f:{$[x=1;1;x*f x-1]}
{[x]$[x=1;1;x*f@x-1]}
1>f 5
120

Links:

About

An attempt to create K language interpreter with rust. Inspired by https://github.com/JohnEarnest/ok

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages