diff options
| author | letouzey | 2010-06-04 20:19:02 +0000 |
|---|---|---|
| committer | letouzey | 2010-06-04 20:19:02 +0000 |
| commit | e5034fbbf23edb17dd88175b2f44b2dc9b4110fa (patch) | |
| tree | f76a76a5e14b01ba03277757273c7d69bd7649b4 /plugins/extraction/vo.itarget | |
| parent | 53f83dbdb371e6efe376e0e7be12f15b2886d707 (diff) | |
Extraction: attempt to provide nice extraction of chars and strings for Ocaml
When Requiring ExtrOcamlString :
* ascii is mapped to Ocaml's char, the ugly translation of constructor
and pattern-match should hopefully be seen very rarely (never ?).
We add a hack in ocaml.ml for recognizing constant chars.
* string is mapped to (list char). Extracting to Ocaml's string could be
done, but would be really nasty (lots of non-trivial Extract Constant to
add). For now, (list char) seems a good compromise.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13078 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/extraction/vo.itarget')
| -rw-r--r-- | plugins/extraction/vo.itarget | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/extraction/vo.itarget b/plugins/extraction/vo.itarget index f7168ff407..338b276840 100644 --- a/plugins/extraction/vo.itarget +++ b/plugins/extraction/vo.itarget @@ -3,3 +3,4 @@ ExtrOcamlIntConv.vo ExtrOcamlBigIntConv.vo ExtrOcamlNatInt.vo ExtrOcamlNatBigInt.vo +ExtrOcamlString.vo
\ No newline at end of file |
