decided to make a wee language, I only need to write the evaluator to make basic arithmetic work, but I paused that and had some fun with working on the repl first. the main thing I want to try out with the language is going to be function calling syntax that makes piping easy, it's going to work more or less like this:
fn repeat(@str to_repeat, int times) str {
return str * times;
}
fn to_third_person(@str base) str {
return "He said: " + base;
}
var new_str = "Hello, world"
@ repeat(2)
@ to_third_person();
// He said: Hello, worldHello, world