Commit Graph

6436 Commits (f976176626c8cd649e074a1b1ca214a742f21061)

Author SHA1 Message Date
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
Nicolas Pouillard 8cc235b207 Add a dummy filter that remove the Camlp4FiltersTrash module.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7502 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 13:32:45 +00:00
Nicolas Pouillard 981b9d192e Improve the sequence printing
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 13:31:45 +00:00
Nicolas Pouillard bb455739a9 Generate{Map,Fold} no longer handle the Trash module
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7500 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 13:31:30 +00:00
Damien Doligez 865ec79b34 PR#4039, PR#4062
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-17 08:05:26 +00:00
Nicolas Pouillard 0d16cf32dd Honor the Config.quotation (-no_quot) option inside comments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-13 11:11:52 +00:00
Nicolas Pouillard c0868a4cde Where is not a ocaml keyword, and sequence is just a sem_expr
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7496 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-13 09:19:37 +00:00
Nicolas Pouillard 830e61107c Replace some LIDENTs by a_LIDENTs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7495 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-12 20:53:37 +00:00
Nicolas Pouillard 229537dc94 Revert the previous patch since arrays also use ExSem so ExSeq is required
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7494 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-12 14:23:36 +00:00
Nicolas Pouillard 69acf6021e Suppress the ExSeq AST node
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7493 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-12 14:06:59 +00:00
Nicolas Pouillard 1fae2f793f Add Camlp4Profiler.ml{,i} a small counting module
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7492 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-10 20:34:14 +00:00
Nicolas Pouillard fe59cd2ced Add camlp4oof and camlp4orf and refactor
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7491 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-10 15:31:09 +00:00
Nicolas Pouillard 4cd3350c85 Accept intermediate empty bindings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7490 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-09 07:21:08 +00:00
Nicolas Pouillard 1eaac84b00 Fix a bug in the revised pretty-printer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7489 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 18:44:56 +00:00
Nicolas Pouillard 44334bfe68 No longer use $opt:x$, but $rec:x$, $virtual:x$. Clearer and less ambiguous. Update antiquotations. Bootstrap.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7488 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 18:10:11 +00:00
Nicolas Pouillard 29758bdd0b make bootstrap
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 17:21:32 +00:00
Nicolas Pouillard 3f0cb35acd Improve the profiler by providing a separate tool to analyse results
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 16:52:30 +00:00
Nicolas Pouillard 63d8318a00 Pretty-printer last change consequencies
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7485 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 16:49:04 +00:00
Nicolas Pouillard bf2cae1876 Enhance pretty-printing by also allowing rec "let in"s to be in a clearer style
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7484 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 16:47:29 +00:00
Nicolas Pouillard 57fc316e5c Add a simple profiler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7483 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-08 10:33:12 +00:00
Nicolas Pouillard 737852d8c5 Add the .cvsignore file
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7482 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 14:32:16 +00:00