Skip to content

Language tools for manipulating OCaml programs in Haskell (parser, pretty-printer, ...)

License

Notifications You must be signed in to change notification settings

helvm/language-ocaml

 
 

Repository files navigation

language-ocaml: Language tools for manipulating OCaml programs in Haskell (parser, pretty-printer, ...)

Current target version: OCaml 4.07.0rc2

This is work-in-progress.

Language.OCaml.Parser provides:

  • parseImplementationC, written using parser combinators, i.e. Megaparsec (slow?) (IMPORTANT: currently most precedences are wrong, DO NOT USE)

  • parseImplementationG, written using parser generators, i.e. Alex and Happy (fast?), more likely to be correct as it follows the OCaml parser very closely, though at the moment locations and documentation might be missing.

Note that the current parser only supports productions I have needed so far, and is not complete in any way!

About

Language tools for manipulating OCaml programs in Haskell (parser, pretty-printer, ...)

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Haskell 58.4%
  • Yacc 27.2%
  • Lex 10.8%
  • Nix 2.6%
  • Other 1.0%