kast 0.1.0

kast programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const call-both = macro (.a, .b) => `($a(); $b());

let hello = () => std.print "hello";
let world = () => std.print "world";

(
    syntax call-1-then-2 <- 20 = "call" a "and" b;
    impl syntax call-1-then-2 = call-both;
    call hello and world;
);

(
    syntax call-2-then-1 <- 20 = "call" b "and" a;
    impl syntax call-2-then-1 = call-both;
    call hello and world
);