Batsh - Shell 编程语言


MIT
跨平台
C/C++

软件简介

Batsh 是一个简单的编程语言,可方便的编译成 Bash 和 Windows
批处理脚本。相当于你需要写一次脚本就可以在不同的平台上运行。而且没有任何依赖包。

示例代码:

// On UNIX
output = ls();
// On Windows
output = dir();
// Platform independent
output = readdir();

// Test existence
ex = exists("file.txt");