batsh

Author BYVoid <byvoid@byvoid.com>
License MIT
Homepage https://github.com/BYVoid/Batsh
Maintainer byvoid@byvoid.com
Dependencies
& cmdliner >= 0.9.2
core_kernel >= 109.42.00
dlist >= 0.0.2
menhir >= 20130912
ocamlbuild
ocamlfind >= 1.3.2
Optional dependencies
| core
ounit
Available ocaml-version >= "4.00.1"
Published Oct 30, 2013
Source [http] http://github.com/BYVoid/Batsh/archive/v0.0.4.tar.gz
03e93a2adc17b53f45b746cc8014b904
Statistics Installed 6 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/batsh/batsh.0.0.4/opam

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

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).
No package is dependent