Commit Graph

6514 Commits (a2403702e22bd41290b08a1c05cdae7865f1663f)

Author SHA1 Message Date
Damien Doligez e835283b79 ajout
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7601 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-12 10:35:58 +00:00
Damien Doligez ed4351139c PR#4055 List.nth when argument is negative
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7597 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-11 12:18:00 +00:00
Damien Doligez b21b8dcc8a ajout de "const" au parametre de hash_value_name PR#3178 et PR#3396
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-11 12:12:24 +00:00
Jacques Garrigue d37722cc02 pattern-matching works
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7592 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-11 06:12:24 +00:00
Nicolas Pouillard ff4e121083 [camlp4] $Id$ ...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-08 13:02:03 +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
Xavier Leroy 2afbda6ea7 Ajout option -modules (cf. PR#4047)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7575 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-31 09:50:35 +00:00
Xavier Leroy f6fc1f39c1 Revu traitement de l'option -slash (PR#4050). A tester.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7574 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-30 11:22:24 +00:00
Xavier Leroy 5120db57c6 Shared library support for MacOSX/Intel (PR#4086)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-30 09:40:56 +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
Xavier Leroy 8689327138 Configuration de PARTIALLD
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7566 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-18 14:52:19 +00:00
Xavier Leroy c6ce97fe26 gcc optimizations for PPC64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-18 14:51:59 +00:00
Jacques Garrigue 7278d4c343 fix PR3999/4082
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-08-11 22:40:19 +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 10ce5f7637 [camlp4] add "Lift", "lift" and "l" as shortcuts for "LiftCamlp4Ast"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7541 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-26 12:13:21 +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 eb99e6328f [camlp4] CVS Ids
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7529 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-22 09:52:44 +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 1f8ca2dc7b Put parenthesis around arguments to please the compilation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 19:30:18 +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
Nicolas Pouillard f1ce649f02 make bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7514 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 15:00:00 +00:00
Nicolas Pouillard 997bfbe9ab Add the fold class in Camlp4Ast.genmap.ml and regenerate
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7513 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:54:44 +00:00
Nicolas Pouillard a8c3279ad6 Fix some camlp4o bugs with arity of constructors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7512 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:53:30 +00:00
Nicolas Pouillard 5c476459ef Support <<>> in the lexer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7511 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:52:07 +00:00