about summary refs log tree commit diff
path: root/examples/0.pry
blob: 9559973bf7af61d4dd305f70e026cba823bd74a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* HELLO! Welcome to the unnamed language */

import "!stdlib.pry";

let main = (argc: i64, argv: *i64) => i64 {
	printf("%d\n", argc);
	isdigit('a');
	let x = strcmp("a", "a");
	printf("%d\n", x);
	
	return 2;
};

/*

Expected stdout:

1

Expected return: 2

*/