Giter Club home page Giter Club logo

dune-expand's Introduction

opam dune-expand

Tool to expand PPXs in dune-based projects.

Run:

dune-expand

Output:

module Dune__exe.Expand:
...
;;
...
module Dune_expand_lib.Dune_spec:
...
;;

Fork notice

This was forked to work with newer OCaml versions from Kiran Gopinathan's original repo.

Usage

NAME
       dune-expand - Pretty prints the expanded output of OCaml source files
       in a dune-based OCaml project.

SYNOPSIS
       dune-expand [OPTION]...

OPTIONS
       --help[=FMT] (default=auto)
           Show this help in format FMT. The value FMT must be one of `auto',
           `pager', `groff' or `plain'. With `auto', the format is `pager` or
           `plain' whenever the TERM env var is `dumb' or undefined.

       -l, --list
           Lists all discovered modules in the current dune project.

       -m MODULE, --module=MODULE
           (optional) OCaml module (path) to expand. If not provided,
           dune-expand expands all modules in the project.

       --version
           Show version information.

ENVIRONMENT
       These environment variables affect the execution of dune-expand:

       DUNE_EXPAND_SEARCH_DEPTH
           Integer representing the maximum number of directories to search
           through to find the dune-project root before giving up.

dune-expand's People

Contributors

jevinskie avatar kiranandcode avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.