This package contains the "classical" version of CamlP4 executables and libraries for pre-processing and pretty-printing OCaml sources both interactively and in a batch fashion. Shared libraries also a virtual package provided by libc6-udeb dep: Some pretty printing kits are provided by Camlp5, the main ones being:. Otherwise, the OCaml compiler continues with the syntax tree provided by Camlp5. In the toplevel, it is possible to preprocess the input phrases by loading one of the files " camlp5o.
Uploader: | Faurr |
Date Added: | 24 November 2008 |
File Size: | 14.5 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 28300 |
Price: | Free* [*Free Regsitration Required] |
For other contact information, see the Debian contact page. Even if you don't know it, it is not difficult to understand. These files cannot be linked to produce executables because they generally call functions and use variables defined only in Camlp5 core, typically belonging to the module " Pcaml ". In the OCaml toplevel, it is possible to use a kit by simply loading it with the directive " load ".
The kits are designed to be loaded by the Camlp5 commands, either through their command arguments or through directives in the source files. Code GenerationOCaml Developmentdevel:: The revised syntax is a specific syntax whose aim is to resolve some calp5 and inconsistencies of the normal OCaml syntax.
This page is also available in the following languages How to set the default document language: Camlp5 is a preprocessor and pretty-printer for OCaml programs.
Debian -- Details of package camlp5 in jessie
Some pretty printing kits are provided by Camlp5, the main ones being:. Parsing and printing extensions are OCaml object files, i. In case of syntax errors, the parsing fails with an error message and the compilation is aborted.
Other Packages Related to camlp5 depends recommends suggests enhances dep: Objective Caml OCaml is an implementation of the ML language, based on the Caml Light dialect extended with a complete class-based object system and a powerful module system in the style of Standard ML. Camlp5 also provides some parsing and pretty printing tools: As a preprocessor, it allows to: Debian is a trademark of SPI Inc. It is therefore important to compile the kits with the option " -c " of the OCaml compiler i.
This way, the parsing is done by Camlp5. Introduction Camlp5 is a preprocessor and pretty-printer for OCaml programs. This package contains the "classical" version of CamlP4 executables and libraries for pre-processing and pretty-printing OCaml sources both interactively and in a batch fashion. Several syntax extensions can be used for a single file. The "classical" version is the implementation of CamlP4 which used to be distributed with OCaml before the release of version 3.
These object files are named parsing and printing kits.
Package: camlp5 (6.11+dfsg-3)
It also provides parsing and printing tools. All examples of this documentation are written in that revised syntax. They are the result of the compilation of OCaml source files containing what is necessary to do the parsing or printing. In this case, the commands must be:. To report a problem with the web site, e-mail debian-www lists. Learn more about this site. Otherwise, the OCaml compiler continues with the syntax tree provided by Camlp5. These commands can be given as parameters of the option -pp of the OCaml compiler.
Shared libraries also a virtual package provided by libc6-udeb dep: It offers tools for syntax Stream Parsers and Grammars and the ability to modify the concrete syntax of the language Quotations, Syntax Extensions.
The way to create one's own syntax extensions is explained in this document. OCamlUser Interface:
Комментариев нет:
Отправить комментарий