Finally make a clean sweep and delete / organize old files. Add skeleton for LaTeX formal writeup in doc/ and change license (since this is all new code from the past few years) to BSD-2-Clause-Patent
This commit is contained in:
15
working_files/smaller_new_kraken_test.kp
Normal file
15
working_files/smaller_new_kraken_test.kp
Normal file
@@ -0,0 +1,15 @@
|
||||
#lang (with_import "./new_kraken.kp" new_kraken_untyped) new_kraken_start_symbol
|
||||
let my_var = 1337
|
||||
println("Hello world!")
|
||||
println("my_var is:" my_var)
|
||||
println($"empty string interp")
|
||||
println($"var string interp: $my_var")
|
||||
println($"var expr interp: ${+(2 3)}")
|
||||
fun test() {
|
||||
let plus_1 = |x| { +(3 1) }
|
||||
let a = 1
|
||||
let b = plus_1(a)
|
||||
println("some" b)
|
||||
1338
|
||||
}
|
||||
println("test is:" test())
|
||||
Reference in New Issue
Block a user