bean-script 0.2.12

Simple scripting language for easy use in other projects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const(<block>): {
	let(<value>): 42
	
	fn(<function>): {
		print("Hello from inside a function! param 0:", p(0))
		body("hi")
	}
}

{
	let(<x>): 2
	print("Getting value:", block.value)
	block.function(x): {
		// __debug
		print("from a body", x)
	}
}