<commit_before>**********
Quickstart
**********

This document gives simple usage examples of Jbuilder. You can also look at
`examples <https://github.com/janestreet/jbuilder/tree/master/example>`__ for
complete examples of projects using Jbuilder.

Building a hello world program
==============================

In a directory of your choice, write this ``jbuild`` file:

.. code:: scheme

    (jbuild_version 1)

    ;; This declare the hello_world executable implemented by hello_world.ml
    (executable
     ((name hello_world)))

This ``hello_world.ml`` file:

.. code:: ocaml

    print_endline "Hello, world!"

And build it with:

.. code:: bash

    jbuilder build hello_world.exe

The executable will be built as ``_build/default/hello_world.exe``

Building a hello world program using Lwt
========================================

In a directory of your choice, write this ``jbuild`` file:<commit_msg>Clarify use of the .exe extension<commit_after>**********
Quickstart
**********

This document gives simple usage examples of Jbuilder. You can also look at
`examples <https://github.com/janestreet/jbuilder/tree/master/example>`__ for
complete examples of projects using Jbuilder.

Building a hello world program
==============================

In a directory of your choice, write this ``jbuild`` file:

.. code:: scheme

    (jbuild_version 1)

    ;; This declare the hello_world executable implemented by hello_world.ml
    (executable
     ((name hello_world)))

This ``hello_world.ml`` file:

.. code:: ocaml

    print_endline "Hello, world!"

And build it with:

.. code:: bash

    jbuilder build hello_world.exe

The executable will be built as ``_build/default/hello_world.exe``. Note that
native code executables will have the ``.exe`` extension on all platforms
(including non-Windows systems).

Building a hello world program using Lwt
========================================

In a directory of your choice, write this ``jbuild`` file:
{'fraction_non_alphanumeric': 0.1707441386340469, 'fraction_numerical': 0.0010193679918450561, 'mean_word_length': 4.5609065155807365, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7443964', 'n_tokens_mistral': 572, 'n_tokens_neox': 519, 'n_words': 210}