batsh

A (C-like syntax) programming language that compiles to Bash and Windows Batch.
Description

Batsh enables you to write code once runs on all platforms without any additional dependency.

Documentation: https://github.com/BYVoid/Batsh

Online demo: http://batsh.byvoid.com/

  • Remove dependency to Core (use Core_kernel instead).
  • Rewrite command line front end with Cmdliner.
  • Add unit tests for code.
  • Stop printing redundant parentheses of arithmetic expressions (bash).
  • Not split string comparison expression from if statement (bash).
  • Not split list from assignment (winbat).
  • Escape caret specially if exclamation mark is observed (winbat).
Install
Published
21 Nov 2013
Sources
v0.0.4.tar.gz
md5=03e93a2adc17b53f45b746cc8014b904
Dependencies
cmdliner
>= "0.9.2"
menhir
>= "20130912"
dlist
>= "0.0.2"
core_kernel
>= "109.42.00" & <= "113.00.00"
ocamlfind
>= "1.3.2"
ocaml
>= "4.00.1"
Reverse Dependencies