Damien Doligez
997a678d5e
clean up TABs and whitespace
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-30 18:04:46 +00:00
Xavier Clerc
e884da3bdc
Fixes a camlp4 50x slowdown by changing the order of grammar rules.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12391 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-23 11:58:40 +00:00
Jérémie Dimino
7fa1f303c7
Set the revised syntax of GADTs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12346 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-11 21:34:51 +00:00
Damien Doligez
6c24f4f90b
merge version 3.12 from 3.12.1 to r12205
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-08 19:52:03 +00:00
Jérémie Dimino
62fc590a47
PR#5495: add "or" to the list of infix keywords in the camlp4 parser
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12162 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-17 12:52:04 +00:00
Damien Doligez
25065da568
PR#5387: typo in commit 11986
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12012 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-10 20:19:33 +00:00
Jérémie Dimino
0c37ea4c27
PR#5387: avoid extra Ast.CrNil and Ast.CgNil
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11987 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-05 09:43:50 +00:00
Jérémie Dimino
01b9028cb0
PR#5387: avoid extra Ast.StNil and Ast.SgNil
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11986 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-05 09:35:47 +00:00
Jacques Garrigue
9dc661c3bf
merge branches/gadts
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11160 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-29 10:32:43 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez
c91db736b1
merge changes from 3.12.0 to 3.12.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Jacques Le Normand
421d864cca
camlp4 -> caml ast transformations done
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10841 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-22 12:30:08 +00:00
Jacques Le Normand
3d99be4287
Camlp4 finally works. This is probably not the most elegant implementation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10836 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-19 16:40:08 +00:00
Jacques Le Normand
86f1604d06
undid all changes to camlp4
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10831 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-19 08:28:32 +00:00
Jacques Le Normand
f24d678e39
bootstrapped camlp4 gadts extension
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10798 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-12 11:33:41 +00:00
Jacques Le Normand
c2777a43d0
merged with trunk. specifically, merged with implicit unpack patch
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-25 08:19:48 +00:00
Jacques Garrigue
ce605c042a
merge branches/implicit-unpack + update camlp4
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10738 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-21 23:59:33 +00:00
Damien Doligez
575555eecd
merge changes from branching of 3.12 to release/3.12.0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Nicolas Pouillard
d20d7acfc3
camlp4: add support for fun (type t) ...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 14:45:14 +00:00
Nicolas Pouillard
f4276be20e
camlp4: Add support for firstclass modules
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-19 12:25:27 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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