0.0.26 • Published 14 days ago

kestrel-lang v0.0.26

Weekly downloads
-
License
MIT
Repository
-
Last release
14 days ago

Kestrel lang 🦅

npm CI codecov

Kestrel is a pure, strongly typed functional language that compiles to js.

// Type is inferred as `Fn(Int) -> String`
pub let fizz_buzz = fn n {
  match (n % 3, n % 5) {
    (0, 0) => "FizzBuzz",
    (0, _) => "Fizz",
    (_, 0) => "Buzz",
    _ => String.from_int(n),
  }
}

Take a look at the language tour to learn more. You can find some examples by looking at the standard library implementation

Get started

You can try kestrel without installing it on the online playground.

Install the kestrel cli using npm:

npm install -g kestrel-lang

Lsp integration is available as a vscode extension.

0.0.26

14 days ago

0.0.25

15 days ago

0.0.24

17 days ago

0.0.22

1 month ago

0.0.23

1 month ago

0.0.21

1 month ago

0.0.20

1 month ago

0.0.18

1 month ago

0.0.19

1 month ago

0.0.14

2 months ago

0.0.15

2 months ago

0.0.16

2 months ago

0.0.17

2 months ago

0.0.11

2 months ago

0.0.12

2 months ago

0.0.13

2 months ago

0.0.10

2 months ago

0.0.9

2 months ago

0.0.8

2 months ago

0.0.5

3 months ago

0.0.7

3 months ago

0.0.6

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago