Commit Graph

6406 Commits (665b2d65b1fa59f30811a40063b4bbbe0b9214e0)

Author SHA1 Message Date
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
Nicolas Pouillard f7a18a212b Update the Makefile.ml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:19:59 +00:00
Nicolas Pouillard 5422545d53 Keep the last loc to have a correct loc for subsequent implem or interf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7509 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:18:26 +00:00
Nicolas Pouillard 10cdef3018 fix the free_vars_test file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7508 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:16:02 +00:00
Nicolas Pouillard d1d2a3b294 More test fixtures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7507 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 14:05:28 +00:00
Nicolas Pouillard fb1c41d7d4 Generate the fold class
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7506 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 13:59:11 +00:00
Nicolas Pouillard 0dad42e9a3 Add the fold class to Camlp4.Sig.Ast and Camlp4.Sig.Camlp4Ast
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7505 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 13:58:12 +00:00
Nicolas Pouillard 7eea54aed3 Add #array and #ref builtins
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7504 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 13:58:08 +00:00
Nicolas Pouillard 3f774ebb2b Fix it
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7503 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 13:58:02 +00:00