Permalink
Browse files

[feature] js-like,pretty-printer: some enhancements, mostly unfinished

disclaimer: the pretty-printer and the syntaxHelper are provided "as is"

if somebody knows how to indent correclty code with Ocaml Format, enjoy and correct this code

what remains to be done:
  -proper indentation
  -sugar for css
  -probably a lot of small tweaks

To use the syntax converter:

-first built it,
./build/bld.sh opa/syntaxHelper.native #to build it

-second invoke it,
./syntaxHelper.native --parser classic --printer js-like FILE1 FILE2 ... --build-dir DESTINATION_DIRECTORY

TOTO
  • Loading branch information...
1 parent 9b0a7dc commit 1011bc0190fe708bd4db05fb53cd11a14e1ec62f @OpaOnWindowsNow OpaOnWindowsNow committed Dec 20, 2011
Showing with 525 additions and 99 deletions.
  1. +524 −99 opalang/opaPrint.ml
  2. +1 −0 opalang/opaPrint.mli
Oops, something went wrong.

0 comments on commit 1011bc0

Please sign in to comment.