Nicolas Pouillard
c487f4e957
camlp4: bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-05 16:11:37 +00:00
Nicolas Pouillard
436a615911
camlp4: restore the empty data type (e.g. <<type t = [];>> in revised)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9179 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-05 16:11:15 +00:00
Pierre Weis
a548eb3a13
Understanding the notion of standard channel for Format and Scanf.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-01-25 22:46:15 +00:00
Nicolas Pouillard
686b90b26e
camlp4: Update the help message to cmxs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9145 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-11-28 18:46:47 +00:00
Nicolas Pouillard
d4e4bdaaa2
camlp4: kill last $Id$s
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9108 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-27 14:03:57 +00:00
Nicolas Pouillard
17843562ad
camlp4: kill # $Id$
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9107 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-27 14:03:31 +00:00
Nicolas Pouillard
3a14bd5091
camlp4: kill some (* $Id$ *)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9106 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-27 14:03:15 +00:00
Nicolas Pouillard
a0a0277a0e
camlp4: resolve PR#4543 about filters on topphrase (thanks to Martin Jambon for this patch)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9104 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-27 13:45:09 +00:00
Nicolas Pouillard
253a5f6364
camlp4: Fix two toplevel bugs: PR#4495 and PR#4593 at once
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9080 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-13 13:34:06 +00:00
Nicolas Pouillard
35205da90c
camlp4,bootstrap: again
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9068 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 17:18:25 +00:00
Nicolas Pouillard
70add65225
camlp4: fix the revised printer of functor apps
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9067 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 16:30:55 +00:00
Nicolas Pouillard
926961ed06
camlp4,printer: Fix a printing bug, parens in "include(struct end:sig end)"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9066 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 16:25:28 +00:00
Nicolas Pouillard
a71f5a0fe2
camlp4,bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 15:27:04 +00:00
Nicolas Pouillard
22e2f4b84a
camlp4: yet another fix about seq_expr.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-05 15:26:54 +00:00
Nicolas Pouillard
a577f8d889
camlp4: quick fix the previous patch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9063 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 17:08:02 +00:00
Nicolas Pouillard
3ea6411500
camlp4: Fix the PR#4420 bug, object...end is sadly not a simple expression
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9062 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 16:54:05 +00:00
Nicolas Pouillard
bc3b901b30
camlp4: Fix a bug about the parsing of sequences
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 16:50:21 +00:00
Nicolas Pouillard
91af8d2477
camlp4: Fix the PR#4532 bug about parsing of tuples vs list or sequences
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9060 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 16:49:54 +00:00
Nicolas Pouillard
4379a09dc3
camlp4: Fix the PR#4520 about the conversion of special cases (like A.False).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9059 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 11:11:09 +00:00
Nicolas Pouillard
22d5cc125e
camlp4,fix: Deeply fix the grammar about extra semicolons
...
Indeed longstanding series of bugs PR#4603, PR#4330,
PR#4551 were hiding some flaws in the grammars.
So the extra semicolon allowed in record expressions,
record patterns, record declarations, objects ({<...>}),
object types (< ... >), was allowed by this bug and
not by the grammar.
This patch fix the grammars.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-04 10:47:56 +00:00
Nicolas Pouillard
042b344ab2
camlp4: fix a bug hidden by a previous one (extra semicolon in {a=b;})
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 16:20:02 +00:00
Nicolas Pouillard
dc27d2774b
camlp4: fix mkcamlp4 by pointing to the real lib name
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9056 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:50:09 +00:00
Nicolas Pouillard
2446372311
camlp4: remove the buggy/unfinished Camlp4Tracer filter.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9055 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:41:25 +00:00
Nicolas Pouillard
db5e084aa2
camlp4: little cleanup in Grammar.Static
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9054 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:28:05 +00:00
Nicolas Pouillard
cdd0860804
camlp4: Fix PR#4603, PR#4330, PR#4551 all at one (thanks to Jerome Vouillon)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9053 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:18:37 +00:00
Nicolas Pouillard
5b5ef4a8d2
camlp4,tests: be more precise in pr4330.ml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 15:18:22 +00:00
Nicolas Pouillard
da8f0e0b96
camlp4: add Jean-vincent Loddo to contributors of camlp4 macros.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 14:19:19 +00:00
Nicolas Pouillard
20703cd0e3
camlp4,tests: more test for macros.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9049 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 14:16:05 +00:00
Nicolas Pouillard
6c2b921c79
camlp4,macro: Fix the difinition/expansion of macros that are inside IFDEFs
...
Thanks to Jean-vincent Loddo for providing this patch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9048 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 14:15:52 +00:00
Nicolas Pouillard
d58c21272e
camlp4,examples: add examples for FreeVars
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 13:06:37 +00:00
Nicolas Pouillard
6335958c20
camlp4,fix,freevars: now handle all binding cases.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9046 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-03 13:06:19 +00:00
Nicolas Pouillard
7b822718b8
camlp4,fix,bug,loc: Fix the PR#4521 bug about locations (thanks to Jerome Vouillon)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9035 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-23 00:07:45 +00:00
Nicolas Pouillard
ff4580e3b8
camlp4: even more test fixtures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9034 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-19 12:56:26 +00:00
Nicolas Pouillard
f0de463f28
camlp4: more test fixtures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-19 12:54:10 +00:00
Nicolas Pouillard
d385cf8591
camlp4: more examples and tests
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9032 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-09-19 12:50:41 +00:00
Nicolas Pouillard
47a482380a
camlp4: Fix the printer of lazy-patterns (since the are irrefutables).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8984 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-06 17:26:08 +00:00
Nicolas Pouillard
4db872fd10
camlp4: extend the is_irrefutable function
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8923 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-21 14:05:59 +00:00
Michel Mauny
6ba024a12e
Add lazy patterns.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-09 13:03:38 +00:00
Damien Doligez
9ea5edac9a
merge changes 3.10.0 -> 3.10.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Nicolas Pouillard
df984fdca7
camlp4,bootstrap,head: Regen camlp4/boot/*.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8728 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 10:31:34 +00:00
Nicolas Pouillard
63bfcc74c6
camlp4,fix,quot: Properly handle <:patt< $`bool:p$ >>.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 09:02:19 +00:00
Nicolas Pouillard
ebb6348c1e
camlp4,fix: Correctly parse type quotations containing uppercase polymorphic variant (<:ctyp< `A >>)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 09:00:37 +00:00
Nicolas Pouillard
756c4697ae
camlp4,fix: Generate only qualified names in Camlp4GrammarParser.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8719 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:59:38 +00:00
Nicolas Pouillard
f8841fe8c1
camlp4,cleanup: Remove some dead code in Camlp4GrammarParser.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:59:11 +00:00
Nicolas Pouillard
196ce9283e
camlp4,fix,original,quot: Parse correctly <:ctyp< ? $ : int -> unit >>.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8711 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:53:44 +00:00
Nicolas Pouillard
bf1081ab07
[camlp4] Report about invalid characters escapings (a note in PR#4337).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8710 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-18 08:51:25 +00:00
Nicolas Pouillard
9f3fcc249e
[camlp4] Fix a location bug inside quotations (PR#4357).
...
Take in account the fact that the two first characters of a quotation literal
in the case of "<:" or "<@" are already counted. So decrement by 2 the shifts
made on these locations.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:38:21 +00:00
Nicolas Pouillard
af74b19b24
[camlp4] Constrain a little more the printer before a <- or :=.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:35:48 +00:00
Nicolas Pouillard
f5a6924be6
[camlp4] [Printers.Ocaml] Protect list items from semicolons (PR#4427).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:34:24 +00:00
Nicolas Pouillard
8d0b054177
[camlp4] More printing fixtures.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:33:31 +00:00
Nicolas Pouillard
efc1254793
[camlp4] Use the constraint keyword instead of type in class signatures too (PR#4419).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:32:08 +00:00
Nicolas Pouillard
bf56fe7082
[camlp4] Print a break after the unary minus (PR#4417).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 14:31:31 +00:00
Nicolas Pouillard
e3ade8ec81
[camlp4] Parse also <<val mutable virtual id : ty>> (PR#4417).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:37:47 +00:00
Nicolas Pouillard
51285046e8
[camlp4] Add the test case for PR#4337.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8652 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:36:17 +00:00
Nicolas Pouillard
e4bd83e07f
[camlp4] Now supports the useless syntax: <<fun patt when guard -> expr>> (PR#4331).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:34:33 +00:00
Nicolas Pouillard
bba53a1bc8
[camlp4] Fix a bug in the printer of negative numeric values (PR#4332).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:32:38 +00:00
Nicolas Pouillard
ad0428b1a3
[camlp4] Remove useless code due to inheritance of revised grammar.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8649 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:30:39 +00:00
Nicolas Pouillard
d766f56732
[camlp4] Add two fixture files.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8648 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:29:57 +00:00
Nicolas Pouillard
c5c1abddb6
[camlp4] Fix Camlp4OCamlRevisedParser.name to "Camlp4OCamlRevisedParser".
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8646 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:27:22 +00:00
Nicolas Pouillard
9577fdf3d3
[camlp4] Fix a bug in parsing operators (let _ : ty = e) (PR#4312).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8645 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 13:26:32 +00:00
Nicolas Pouillard
b2b3f705fd
[camlp4] Bootstrap.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 12:28:47 +00:00
Nicolas Pouillard
255e7082ef
[camlp4] Restore the private types support.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8637 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-27 10:39:56 +00:00
Nicolas Pouillard
e49b8c08d8
[camlp4] Add an example about the "debug" syntax extension.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:56:01 +00:00
Nicolas Pouillard
09ea000fe0
[camlp4 examples] [ADDED] An example of string based quotation expander (old ExStr).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:18:14 +00:00
Nicolas Pouillard
6e98a45b0c
[camlp4] [FIXED] PR#4328
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8560 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:15:48 +00:00
Nicolas Pouillard
40db6ea316
[camlp4] [FIXED] Use numeric also for floats PR#4434.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:14:47 +00:00
Nicolas Pouillard
ee21128333
[camlp4] [CHANGED] Rename the intlike printer method by numeric.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:14:05 +00:00
Nicolas Pouillard
aeb05b1cb9
[camlp4] Merge 3.10 on trunk for camlp4
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:11:24 +00:00
Nicolas Pouillard
8d2296b285
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4/Struct
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:57:54 +00:00
Nicolas Pouillard
94ae0db260
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4/Printers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:53:10 +00:00
Nicolas Pouillard
a09267ad74
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4Filters
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8554 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:51:39 +00:00
Nicolas Pouillard
7d0959ff0d
[camlp4] Merge 3.10 on trunk for camlp4/Camlp4Parsers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:51:16 +00:00
Nicolas Pouillard
6568f8eea9
[camlp4] Merge 3.10 on trunk for camlp4/examples
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:50:26 +00:00
Nicolas Pouillard
eed14c2980
[camlp4] Merge 3.10 on trunk for camlp4/test
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 17:49:56 +00:00
Nicolas Pouillard
0e09dcc7f8
[camlp4] [FIXED] Use numeric also for floats PR#4434.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8550 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:48:58 +00:00
Nicolas Pouillard
4e37068a21
[camlp4] [CHANGED] Rename the intlike printer method by numeric.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 16:44:29 +00:00
Alain Frisch
3958a92c72
Merge the natdynlink branch into HEAD.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Pierre Weis
59e0723455
It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +00:00
Damien Doligez
4167841b16
fusion de la version 3.10.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Nicolas Pouillard
02c5e8f314
[camlp4] Add list comprehension PR#4218
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7938 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-27 15:50:57 +00:00
Nicolas Pouillard
44d339fcd4
[camlp4][original syntax] Fix the usage of polymorphic constructors in a curryfied way
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-27 15:02:38 +00:00
Nicolas Pouillard
24d08bc045
[camlp4] minor bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7932 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:43:01 +00:00
Nicolas Pouillard
aae33d800c
[camlp4] Fix the optional bar in polymorphic variants parsing PR#4216
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7931 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:39:44 +00:00
Nicolas Pouillard
9286d93c33
[Camlp4] handle externals properly and fix the bootstrap system
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7929 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:32:47 +00:00
Damien Doligez
64646eff2f
cvsignore les nouveaux fichiers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7850 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 15:09:56 +00:00
Nicolas Pouillard
3a67908c91
RE Remove the camlp4/Camlp4/Sig directory
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7841 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-08 16:26:50 +00:00
Damien Doligez
5b52f30e7d
deplacement du numero de version -> fichier VERSION a la racine
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7833 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 14:49:42 +00:00
Nicolas Pouillard
5d2081fc44
A missing file, update .cvsignoreS
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7830 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 11:41:36 +00:00
Nicolas Pouillard
fa5e0979f2
Some renamings, moving, and changements in camlp4
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7828 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 10:09:29 +00:00
Nicolas Pouillard
b100c43753
Add many .mllib .mlpack .clib .dlib files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7825 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 09:52:28 +00:00
Nicolas Pouillard
86645badd6
[camlp4]: Fix the bug #4177 (second part)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7764 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-29 17:03:35 +00:00
Nicolas Pouillard
d66fd147fa
[camlp4]: Fix the bug #4177
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7763 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-29 16:50:37 +00:00
Damien Doligez
7f73882272
petit probleme de bootstrap vs. clean
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-24 14:39:26 +00:00
Damien Doligez
9cd54eadce
PR#4156 increment AST magic numbers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-15 18:55:32 +00:00
Damien Doligez
db85ff05ef
portabilite de script sed
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7732 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-15 14:49:26 +00:00
Nicolas Pouillard
e00b58be00
[camlp4] Fix a bug with multiple class parameters
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7687 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-10 22:32:43 +00:00
Nicolas Pouillard
c9d10f8b23
[camlp4] bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 16:23:53 +00:00
Nicolas Pouillard
4e7ea77948
[camlp4] Update the Camlp4Ast source and regenerate
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7683 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 16:23:40 +00:00
Nicolas Pouillard
84d8d1cb0d
[camlp4] Update camlp4 to the new meta module
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 16:22:54 +00:00
Nicolas Pouillard
a2880cb0a2
[camlp4] Remove useless things
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7681 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 16:20:53 +00:00
Nicolas Pouillard
736355d144
[camlp4] Add the MetaGenerator that will replace the dirty script
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-04 16:19:01 +00:00
Nicolas Pouillard
0ab6b74f9c
[camlp4] Extend the CleanAst module, and bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 14:42:52 +00:00
Xavier Leroy
77b3b1e590
Quotes dans le rebuild
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:53:31 +00:00
Xavier Leroy
eded4f02d5
Ne pas utiliser 'find' pour l'install, probleme avec Windows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:53:08 +00:00
Nicolas Pouillard
6f41153b3f
[camlp4] Add the Null printer
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7665 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 08:54:08 +00:00
Nicolas Pouillard
0a75f30447
[camlp4] Export Printers in PreCast, move Printers*.enable in Register.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7663 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-02 12:59:01 +00:00
Nicolas Pouillard
19a243c1dd
[camlp4] Restore the old clean as smartclean. Restore the YaM header comment.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7662 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-02 11:03:31 +00:00
Xavier Leroy
0ce0574871
Much simplified construction of ./yam. The previous construction
...
method didn't work on platforms lacking DLL support.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7657 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-28 21:37:43 +00:00
Xavier Leroy
2559c304e3
Portage Windows des Makefiles et de YAM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-28 13:30:03 +00:00
Nicolas Pouillard
762998fc0d
[camlp4] More test fixtures
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7647 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-26 09:03:34 +00:00
Nicolas Pouillard
75d0c77ab1
[camlp4] Fix a bug with backquoted records
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7644 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-26 07:10:57 +00:00
Nicolas Pouillard
e70d1faf44
[camlp4] Move is_irrefut_patt and is_*_constr to Camlp4Ast. Fix bug #4120 . Bootstrap.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7642 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-25 14:10:11 +00:00
Nicolas Pouillard
736ae1c81a
[camlp4] fix an issue with the Auto module
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7639 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-25 09:58:05 +00:00
Nicolas Pouillard
e577031fa6
[camlp4] avoid unix linking in camlp4boot
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-21 20:48:31 +00:00
Nicolas Pouillard
be209b7a81
[camlp4] Add a release note
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 16:08:04 +00:00
Nicolas Pouillard
5524a775d5
[camlp4] Improve and debug the clean target. No longer use the Unix module on Windows in Camlp4Printers.Auto
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 15:39:30 +00:00
Damien Doligez
fbea66a95e
fusion des changements 3.09.2 -> 3.09.3
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Nicolas Pouillard
eb99f91923
[camlp4] Add more hooks to register parsers and printers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7609 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-14 07:27:21 +00:00
Nicolas Pouillard
6d944c82ce
[camlp4] more targets
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7585 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-08 13:01:06 +00:00
Nicolas Pouillard
ce09a27907
[camlp4] Avoid the need of rectypes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7584 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-08 12:55:12 +00:00
Nicolas Pouillard
ca789634ba
[camlp4] add YaM.is_file_empty
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7583 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-08 12:49:30 +00:00
Nicolas Pouillard
b63e282dd3
[camlp4] add an AST cleaning step
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7578 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-06 15:43:03 +00:00
Nicolas Pouillard
e8dc3e745e
[camlp4] Use Tempfile instead of metaq.ml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7567 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-22 07:29:17 +00:00
Nicolas Pouillard
26f488966a
[camlp4] handle private rows
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-09 14:37:42 +00:00
Nicolas Pouillard
25bb633580
[camlp4] fix a bug in build system
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-09 13:55:45 +00:00
Nicolas Pouillard
3ce90b0c9b
[camlp4] rm some junk files in test
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7554 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-09 12:05:25 +00:00
Nicolas Pouillard
7e93266a66
[camlp4] fix a bug in the revised printer
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-09 11:31:32 +00:00
Nicolas Pouillard
d49a57ffbe
[camlp4] inline the quotation context structure
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-28 12:47:44 +00:00
Nicolas Pouillard
c2e6aca782
[camlp4] Add a reference to the current file
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-28 12:46:35 +00:00
Nicolas Pouillard
98e4ea9b41
[camlp4] no more use if in the makefile
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-27 16:39:50 +00:00
Nicolas Pouillard
314f48c7a7
[camlp4] Add more .cvsignore
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7542 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-26 12:19:33 +00:00
Nicolas Pouillard
6f6deab38d
[camlp4] rm the doc directory
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-26 12:10:47 +00:00
Nicolas Pouillard
b69d6f856b
[camlp4] tests fixtures and examples...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7539 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-26 12:07:58 +00:00
Nicolas Pouillard
eb11b95071
[camlp4] Fix a bug with declarartion of constructors True and False in the ast translation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7538 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-26 11:58:05 +00:00
Nicolas Pouillard
02f32e302d
[camlp4 compilation] fix bug #4069
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7537 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-26 08:15:02 +00:00
Nicolas Pouillard
d7596d10b5
Fix a bug with exception names (True...)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7536 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-25 13:53:30 +00:00
Nicolas Pouillard
d0d2782c26
[camlp4] makefiles
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7530 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-22 11:18:26 +00:00
Nicolas Pouillard
349b5dcb43
[camlp4] Fix the "no compiler available" bug
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7528 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-22 09:51:10 +00:00
Nicolas Pouillard
0b1510bcf8
[camlp4] Add another application of the FreeVars module
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7527 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-20 08:11:32 +00:00
Nicolas Pouillard
881e477ca6
Fix FreeVars.free_vars init env argument
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7526 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-20 07:47:52 +00:00
Nicolas Pouillard
fef654ed9d
Fix problems with True and False with camlp4o
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-19 11:25:14 +00:00
Nicolas Pouillard
39bd49f4ef
make bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 16:03:56 +00:00
Nicolas Pouillard
4316d60e3e
Protect variables in just some cases (True -> true, val -> contents...)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 15:46:29 +00:00
Nicolas Pouillard
dda1d9f744
Update the build tools to use .opt versions when available and display a clean output by default
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7522 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 15:05:10 +00:00
Nicolas Pouillard
07bd556755
Warp "Gram.extend" arguments by ((fun () -> body) ()) to please ocamlopt
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 15:00:09 +00:00
Nicolas Pouillard
93153ce7c0
Fix more things about patterns and add tests
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 11:58:44 +00:00
Nicolas Pouillard
ead1f3e019
Remove support of tuples without parentheses in patterns after "fun" since it si not allowed in OCaml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7519 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-18 08:17:40 +00:00
Nicolas Pouillard
c026c68824
More tests for constructors in patterns
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7518 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 22:32:39 +00:00
Nicolas Pouillard
7a27b43fed
Rework the camlp4o grammar to be closer to ocaml parser
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7517 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 22:31:55 +00:00
Nicolas Pouillard
1afbc5b2cf
Add a module to fold free vars
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7515 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 15:03:03 +00:00