| 102 |
|
|
| 103 |
E.g.: |
E.g.: |
| 104 |
make cduce NATIVE=false |
make cduce NATIVE=false |
| 105 |
|
|
| 106 |
|
You can also modify Makefile.conf to set values for these choices. |
| 107 |
|
|
| 108 |
|
------------------------------------------------------------------------------ |
| 109 |
|
Support for the expat parser |
| 110 |
|
------------------------------------------------------------------------------ |
| 111 |
|
|
| 112 |
|
This release includes an experimental support for the expat XML |
| 113 |
|
parser, using the OCaml wrapper written by Maas-Maarten Zeeman, and |
| 114 |
|
included in the expat/ subdirectory for convenience (see |
| 115 |
|
expat/README). |
| 116 |
|
|
| 117 |
|
If you have the expat C library installed, you can build |
| 118 |
|
the OCaml wrapper: |
| 119 |
|
|
| 120 |
|
cd expact |
| 121 |
|
make all (* may need to modify Makefile.conf *) |
| 122 |
|
make install (* may require root privileges *) |
| 123 |
|
cd .. |
| 124 |
|
|
| 125 |
|
Then set EXPAT=true in Makefile.conf, and rebuild CDuce (make clean; |
| 126 |
|
make all). |
| 127 |
|
|
| 128 |
|
The interpreter is now using expat for loading XML files. |
| 129 |
|
You can still use PXP by providing the --pxp switch on the command |
| 130 |
|
line. |
| 131 |
|
|
| 132 |
|
Note: the current wrapper for expat does not support inclusion |
| 133 |
|
of external entities. Moreover I encounter random segfaults... |