0.0.27 • Published 10 months ago

kestrel-lang v0.0.27

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months 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.27

10 months ago

0.0.26

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago