Nicolas Pouillard
17a6330d29
camlp4: support polymorphic recursion and bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 13:44:14 +00:00
Nicolas Pouillard
cc123f5ea7
camlp4: bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10405 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 11:59:12 +00:00
Nicolas Pouillard
432bb22c1a
camlp4: initial support for polymorphic recursion
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10404 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 11:59:06 +00:00
Nicolas Pouillard
964b1fa0dd
camlp4: bootstrapping part of last commit
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 09:32:52 +00:00
Nicolas Pouillard
89c1468463
camlp4: add support for "type :=" and "module :="
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 09:32:09 +00:00
Nicolas Pouillard
d162777be3
Remove an old camlp4 makefile
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10399 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-17 09:30:30 +00:00
Nicolas Pouillard
f40a38533b
camlp4: add support for let-open-in
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-12 16:00:06 +00:00
Nicolas Pouillard
7c5ae7af4c
camlp4: bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10392 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 15:19:17 +00:00
Nicolas Pouillard
add4cd9692
camlp4: record punning in expressions as well
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 15:18:42 +00:00
Nicolas Pouillard
c786bb358f
camlp4: bootstrap
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10390 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 14:56:28 +00:00
Nicolas Pouillard
bf809e1ad1
camlp4: add support for record punning
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10389 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 14:54:35 +00:00
Nicolas Pouillard
03aaba0aae
Merge remote branch 'ocaml-git/buildsys' into trunk
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10388 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 14:24:44 +00:00
Nicolas Pouillard
b8cef86ba3
Merge remote branch 'ocaml-git/buildsys' into trunk
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10387 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-11 13:34:38 +00:00
Nicolas Pouillard
71a66511a7
camlp4: Remove old build files
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10294 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-22 09:38:52 +00:00
Jacques Garrigue
ee36e1d1c5
merge branches/override
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-08 03:58:41 +00:00
Damien Doligez
04b1656222
clean up spaces and tabs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez
bdc0fadee2
merge changes from release/3.11.1 to release/3.11.2
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9540 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-20 16:26:46 +00:00
Damien Doligez
1b8095f404
PR#4940: get rid of naked end-of-lines in string constants + add warning 29
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-07 15:15:07 +00:00
Alain Frisch
1e5b4a4857
Merge first class modules: svn merge -r 9369:9396 $caml/branches/fstclassmod.
...
Adapt the Changes file. Bump magic numbers. Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-26 10:53:16 +00:00
Xavier Leroy
349467ec45
New warning `not all labels are mentioned in this record pattern'
...
moved to letter 'R' (instead of 'E' previously). Explicitly turned
off in myocamlbuild configuration.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-22 15:45:54 +00:00
Xavier Leroy
9c6c8fb47e
As discussed at the latest consortium meeting:
...
Syntactic sugar {x} for {x=x} in record expressions and patterns.
Syntax { lbl=pat; _ } to mark record patterns where the user explicitly wants not to list all labels.
Warning (activated by E, the fragile match warning) to signal record patterns without '; _' that fail to list all labels.
To be done: adjust Camlp4 parser accordingly.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-12 12:41:07 +00:00
Nicolas Pouillard
89154947c2
camlp4,printer: handle the empty data type.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9181 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-05 21:54:58 +00:00
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