clojure + linux(ubuntu)
在终端输入`clojure`
user=>(println "hello world")
lua
终端输入lua
print("hello".." world".."\n")
go
// main.go
package main
import "fmt"
func main(){
fmt.Println("hello world")
}
// run by `go run main.go`
rust
// main.rs
fn main()
{
println!("hello world");
}
// run by `rustc main.rs` and `./main`
groovy
需要java环境
// Main.groovy
class Main
{
static void main(String[] args)
{
println("hello world");
}
}
// run by `groovy Main.groovy`