batsh

AuthorBYVoid <byvoid@byvoid.com>
LicenseMIT
Homepagehttps://github.com/BYVoid/Batsh
Maintainerbyvoid@byvoid.com
Dependencies
&cmdliner>= 0.9.2
core_kernel>= 109.42.00&<= 113.00.00
dlist>= 0.0.2
menhir>= 20130912
ocamlbuild
ocamlfind>= 1.3.2
Optional dependencies
|core
ounit
Availableocaml-version >= "4.00.1"
PublishedOct 30, 2013
Source [http] https://github.com/BYVoid/Batsh/archive/v0.0.4.tar.gz
03e93a2adc17b53f45b746cc8014b904
StatisticsInstalled 2 times last month.
Edithttps://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