BatshShell 編程語言
Batsh 是一個(gè)簡(jiǎn)單的編程語言,可方便的編譯成 Bash 和 Windows 批處理腳本。相當(dāng)于你需要寫一次腳本就可以在不同的平臺(tái)上運(yùn)行。而且沒有任何依賴包。
示例代碼:
// On UNIX
output = ls();
// On Windows
output = dir();
// Platform independent
output = readdir();
// Test existence
ex = exists("file.txt");評(píng)論
圖片
表情
