File: README

package info (click to toggle)
camlmix 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 208 kB
  • sloc: ml: 501; makefile: 103
file content (33 lines) | stat: -rw-r--r-- 825 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
The files of this directory are in the public domain.

Test with:
  make
Clean with:
  make clean


simple.mlx:
  minimalist example showing the basic syntax issues

include1.mlx, include2.mlx:
  illustration of the "include" directive

xpp.mlx, prog.mlx: 
  example of simple meta-programming. An OCaml file is produced.
  The main issue is to report error locations correctly, which is achieved by 
  xpp.mlx.

test.mlx:
  a longer test which produces a HTML file (where whitespace is not very 
  significant)

test2.mlx:
  another test, produces a C file

dynamic.mlx, dynamic_main.mlx:
  compiling a template into a regular OCaml module, and calling the render
  function from a regular program

dynamic2.mlx, dynamic2_main.mlx:
  template with multiple parameters; 
  printing into an explicit buffer instead of stdout.