Commit Graph

6320 Commits (1f8ca2dc7b7023ef6ded2c53f7b0747cf9943bb9)

Author SHA1 Message Date
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
Nicolas Pouillard c4decf2476 No longer use yam when not avaiable in clean
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7481 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 14:19:43 +00:00
Nicolas Pouillard d9a3f35960 Fix a bug with label translating
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7480 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 12:40:21 +00:00
Nicolas Pouillard 07c85c604f Fix a bug in parsers syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7479 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 12:39:30 +00:00
Nicolas Pouillard 51711de644 Fix pa_o labels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7478 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 12:38:38 +00:00
Nicolas Pouillard f42e848daf Fix the printers w.r.t to labels in types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 12:36:54 +00:00
Jacques Garrigue dd8ee9167d use ocamlcomp.sh
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7476 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 08:25:24 +00:00
Nicolas Pouillard bbcc75612b Add -- to the option parser for backward compatibility
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7475 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-07 06:46:54 +00:00
Nicolas Pouillard 18081aac43 Fix another bug of Camlp4Bin
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-06 15:58:01 +00:00
Nicolas Pouillard 9b1302e39a Rework a little the camlp4 main to fix some issues
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7473 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-06 15:43:03 +00:00
Nicolas Pouillard 00b144ff5c Fix a bug in camlp4 toplevels: flush the module registration queue at each phrase.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7472 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-06 15:40:10 +00:00
Jacques Garrigue 9e157e5651 do not use builtins directly
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7471 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-06 07:32:28 +00:00
Nicolas Pouillard 225f05fb80 Fix Odoc_misc.string_of_longident and Odoc_name.from_longident to handle functor applications
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7470 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-06 07:19:06 +00:00
Nicolas Pouillard be02f13ef5 Use open Cmo_format instead of open Emitcode for objinfo and primreq tools
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7469 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-05 12:09:18 +00:00
Nicolas Pouillard ef50c2b1c0 Improve the ctyp quotation w.r.t to the "of" node
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-05 11:25:36 +00:00
Nicolas Pouillard b7a2952e77 Add a directive to setup the default quotation name (add a test)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7467 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-05 11:23:58 +00:00
Nicolas Pouillard b050adae74 Add a directive to setup the default quotation name
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7466 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-07-05 11:23:29 +00:00