Commit Graph

559 Commits (3c1d4986bcd434ed641f6844388b86910354696a)

Author SHA1 Message Date
Alain Frisch ebc803bb63 Fix infinite loop (introduced by commit r11999).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12192 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-06 10:54:45 +00:00
Alain Frisch 4cfd2fc2a6 Reverting bad commit.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12058 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-20 14:23:34 +00:00
Alain Frisch 7fe8c8ce6f Fix #5490.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12057 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-20 14:21:03 +00:00
Alain Frisch 33eefe4874 Remove unused constructors in the AST: Cf_let, Pcf_let.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11968 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-28 13:27:07 +00:00
Alain Frisch 7f7dc416fd Reverting the let.expr syntax (no consensus on the proposal). Sorry for the noise.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-27 09:08:34 +00:00
Alain Frisch d79455bc76 New syntax for 'custom let bindings': let.simple_expr pat = expr in expr
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11906 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21 08:58:56 +00:00
Alain Frisch 16c26c6de3 let-like operators.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11894 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 11:22:32 +00:00
Alain Frisch c1f154ea70 New option to force the compilers to show absolute paths in error messages.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11890 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-20 10:35:43 +00:00
Alain Frisch ece3353035 #5358: package types allow constraints on typed in sub-modules. Camlp4 compiles but does not support this new feature yet.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11311 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-14 10:26:15 +00:00
Jacques Garrigue 01dceea3cc remove conflict
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-14 08:59:07 +00:00
Damien Doligez 893a3bed36 cleanup white space and robustify mkuminus
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11290 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-11-29 15:49:25 +00:00
Jacques Garrigue 6c78f42d36 merge branches/gadts-devel
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-11-24 09:02:48 +00:00
Pierre Weis 731b2a05dd Too long lines.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11254 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-28 21:26:01 +00:00
Pierre Weis 67e74dbb61 Get rid of spurious warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11253 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-28 21:24:27 +00:00
Pierre Weis 87946c9536 Get rid of spurious warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-28 21:21:55 +00:00
Jacques Garrigue b1f8048f39 merge branches/located_errors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11228 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-10-21 03:26:35 +00:00
Damien Doligez d9eb848d86 PR#5238, PR#5277: Sys_error when getting error location
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-08-04 14:59:13 +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 90664f4ea1 uniform .ignore system
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11133 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 15:37:36 +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
Pierre Weis 48f2c1714e Ignoring compiled files.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-03-17 23:37:35 +00:00
Jacques Le Normand 80b18d194f changed the syntax back
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10885 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-12-05 15:25:44 +00:00
Jacques Le Normand b16b083526 changed syntax of constructors
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10883 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-12-03 17:20:18 +00:00
Jacques Le Normand eddcc06798 fixed bug in syntactic sugar translation
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10879 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-12-03 01:49:08 +00:00
Jacques Le Normand 775d35a2b8 & types are no longer created during for the new type syntax annotation
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10852 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-24 13:37:24 +00:00
Jacques Le Normand 3ec9bc692b complete_constrs in parmatch.ml now works with gadts. Reverted changes to the syntax tree which are no longer needed.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10805 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-16 06:01:59 +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 Garrigue 73102f0fdf disable progragation in pattern-matchings containing polymorphic variants
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10791 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-11 10:02:56 +00:00
Jacques Garrigue b0f376cd1f remove the GAHs
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10785 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-10 10:38:18 +00:00
Jacques Le Normand 1680403fb9 clean up
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-10 06:01:27 +00:00
Jacques Le Normand 727e447d0d variance of underscore type arguments can now be specified
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-08 07:53:23 +00:00
Jacques Le Normand ff78b8ee75 exhaustiveness check has been _completely_ rewritten
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10764 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-11-08 07:34:09 +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
Jacques Le Normand 10f670297c added lookup of constructors by type in env.ml and specification of constructors types in Ppat_construct
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10736 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-21 07:53:39 +00:00
Jacques Le Normand 304dba8a0f removed Type_variant, fixed bug in GADT exhaustive check
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-21 04:02:02 +00:00
Jacques Le Normand a1910000e3 fixed bug in syntax extension. Made unification of variants and objects local. Removed personal comments
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10724 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-19 05:24:36 +00:00
Jacques Le Normand 7f749ff335 one more time
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10723 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-18 07:29:04 +00:00
Jacques Le Normand d5f16fae7a fixed small bug in syntax extension
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10722 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-18 07:26:46 +00:00
Jacques Le Normand 90a6348480 added syntactic sugar for mixing newtypes and polytypes
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-18 04:54:24 +00:00
Jacques Le Normand 6f05398661 should have been in last commit
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-10-01 05:44:11 +00:00
Jacques Le Normand 790d987be5 small cleanup
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10688 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-09-22 08:48:33 +00:00
Jacques Le Normand a8a5d86f67 made type parameters ellidable in type declarations
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-09-21 05:30:25 +00:00
Jacques Le Normand 56624533fb switched to abstract types, still needs work on exhaustion type. the code needs to be cleaned up. printfs need to be removed
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-09-19 04:55:40 +00:00
Jacques Le Normand 6de25fef2f first commit
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts@10679 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-09-13 05:28:30 +00:00
Pierre Weis f5c2201cc0 PR#5062
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-06-04 16:44:08 +00:00
Alain Frisch 8ae65cc68c Keep location on value declarations.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/located_errors@10456 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 15:45:52 +00:00
Alain Frisch baceb82d5c Keep location on type declarations.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/located_errors@10454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-21 15:06:01 +00:00
Alain Frisch 3067d05221 Adding some error rules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 18:37:25 +00:00
Alain Frisch 1f8e12830f Fix PR #5034.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10312 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-26 18:27:14 +00:00
Jacques Garrigue 49a83dd965 merge branches/sigsubst 9626:10205
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10263 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-17 14:45:12 +00:00
Jacques Garrigue e09c0b1fcb resolve shift/reduce conflict
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10251 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-08 07:46:08 +00:00
Jacques Garrigue ee36e1d1c5 merge branches/override
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-08 03:58:41 +00:00
Damien Doligez cfd555426d no warning 29 for strings in comments
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10248 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-07 14:35:46 +00:00
Alain Frisch 980f7c3b7d Better parsing for (module M : S) expressions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-06 09:15:57 +00:00
Xavier Leroy ab550592ef Adding "module type of <module-expr>" in the class of <module-type>.
Merge of branches/moduletypeof -r 9636:10226


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10227 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-02 12:53:33 +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
Pierre Weis 7ad9cd975b To deal with printf output for %F format, adding a unary + operator.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9454 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-07 16:40:39 +00:00
Pierre Weis 769be0ebbd Including bug correction (signed numeric constants may begin with a + sign).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-12-01 09:57:02 +00:00
Alain Frisch 89107ae6ff Merge the letopenin branch in (svn merge -r9386:9397 /svn/ocaml/branches/letopenin) and update Changes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-01 21:52:29 +00:00
Alain Frisch 1e5b4a4857 Merge first class modules: svn merge -r 9369:9396 $caml/branches/fstclassmod.
Adapt the Changes file. Bump magic numbers. Bootstrap.



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9397 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-26 10:53:16 +00:00
Jacques Garrigue 023fda3fb4 merge polymorphic recursion
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9396 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-26 07:11:36 +00:00
Alain Frisch 09cb552e17 Import changes from the newtypein branch (svn merge -r 9367:9381 https://yquem.inria.fr/caml/svn/ocaml/branches/newtypein).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-20 07:06:43 +00:00
Alain Frisch db5a053fb4 Import changes from the newtypein branch (svn merge -r 9361:9367 https://frisch@yquem.inria.fr/caml/svn/ocaml/branches/newtypein).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9368 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-10-06 12:51:42 +00:00
Xavier Leroy 9c6c8fb47e As discussed at the latest consortium meeting:
Syntactic sugar {x} for {x=x} in record expressions and patterns.
Syntax { lbl=pat; _ } to mark record patterns where the user explicitly wants not to list all labels.
Warning (activated by E, the fragile match warning) to signal record patterns without '; _' that fail to list all labels.
To be done: adjust Camlp4 parser accordingly.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-12 12:41:07 +00:00
Xavier Leroy b01621e848 Added syntactic sugar for record expressions and record patterns:
{ lbl } stands for { lbl = lbl }.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-08-27 08:19:08 +00:00
Xavier Leroy a5aa0b7e37 PR#4210, PR#4245: tightened bound checking in string->integer conversion functions, without changing what the lexer accepts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9317 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:50:31 +00:00
Xavier Leroy 11217e8f70 Added option -no-app-funct to turn off applicative functors
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-15 14:06:37 +00:00
Pierre Weis a548eb3a13 Understanding the notion of standard channel for Format and Scanf.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9166 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-01-25 22:46:15 +00:00
Damien Doligez 2b0441401a merge changes between 3.10.2 and the end of branch 3.10
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-10-08 13:09:39 +00:00
Xavier Leroy 91d39feb72 PR#4223, PR#1508: added unsafe variants of Bigarray.Array{1,2,3}.{get,set}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 09:09:53 +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
Jun FURUSE / 古瀬 淳 db0afa58a4 workaround for the problem of optional argument type parsing caused when we redefine option type
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8888 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-06-11 23:47:12 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Damien Doligez e9a9bf9613 PR#3114 make all error messages start with a location and "Error: "
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-12-04 13:38:58 +00:00
Pierre Weis 48c4625aa8 Typo: PPat_type c'est Ppat_type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8682 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 22:25:02 +00:00
Pierre Weis 59e0723455 It works: compilers and camlp4 are fully bootstrapped. The ast magic number is not yet changed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-09 10:29:37 +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
Jacques Garrigue 1b6890c1e2 PR#4186
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7770 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-12-15 04:51:11 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Jacques Garrigue 602146f892 add virtual instance variables
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7372 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-05 02:28:13 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Damien Doligez dac3ce381f suppression d'espaces superflus
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6834 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-04-11 16:44:26 +00:00
Damien Doligez e6007f6057 fusion des changements jusqu'a 3.08.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-24 17:20:54 +00:00
Jacques Garrigue ef396b4e5a merge fixedtypes branch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6821 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-23 03:08:37 +00:00
Damien Doligez 669b82bba4 alias (::)(a,b) pour (a::b) (suggestion Monniaux)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6786 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-02-16 14:38:02 +00:00
Damien Doligez 1971a6ba83 changements sur les warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-30 18:57:04 +00:00
Damien Doligez 4bea45df35 pour faire "ocamlc -w YZ -warn-error Az"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6674 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-10 12:47:20 +00:00
Damien Doligez 90ba83c066 ajout "\ " dans les chaines (petit oubli)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6666 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-06 20:12:49 +00:00
Damien Doligez a4bc8340a5 meilleur affichage pour les locations "nulle part"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-02 10:41:12 +00:00
Damien Doligez a7a1c46599 ajout "\ " dans les chaines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6650 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-11-02 10:39:59 +00:00
Jacques Garrigue b3a50ac0ed add location info in Ptype_variant and Ptype_record
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-10-06 13:06:11 +00:00
Damien Doligez 8030a20089 ne pas afficher de colonne negative
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-20 17:02:43 +00:00
Damien Doligez ea4d1da556 mauvais argument a unclosed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6310 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-05-19 12:15:19 +00:00
Damien Doligez 776a8d59b7 suppression support MacOS9
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6074 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-16 15:24:03 +00:00
Damien Doligez f981f63f80 PR#1978
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-18 13:16:22 +00:00
Jacques Garrigue e32f8e9858 fast and compact classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-25 08:46:45 +00:00
Xavier Leroy c4c06a135d Detection des debordements de litteraux entiers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5961 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 16:01:13 +00:00
Damien Doligez 7373c5caec probleme avec les locations a l'ancienne (camlp4)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5816 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-09-03 13:24:56 +00:00
Damien Doligez 331fe042f6 changement de statut de "parser"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5799 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-25 13:15:47 +00:00
Xavier Leroy 35293da681 Suppression vieux code mis en commentaires
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-20 10:10:21 +00:00
Xavier Leroy 3e4bf9252b Revu representation des declarations de type private
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-02 09:14:35 +00:00
Damien Doligez be5cd6de3e reparation module ... : SIG with type ... and type ...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5606 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-20 15:16:57 +00:00
Damien Doligez 510294058e documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 18:12:59 +00:00
Xavier Leroy 1fa763e0c5 Merge branch with recursive modules
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-19 15:53:53 +00:00
Damien Doligez 176bfafcac meilleure syntaxe pour les types virtuels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5577 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-23 14:29:47 +00:00
Pierre Weis e77055aad9 Complete move from virtual to private for concrete types with private
constructors (or labels).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-01 22:22:37 +00:00
Pierre Weis 2eed3c25e5 Getting rid of conflicts recently introduced.
One step more towards use of keyword private instead of virtual for
algebraic concrete types with private constructors or labels
(previously known as virtual types).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5522 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-29 07:03:36 +00:00
Xavier Leroy 7abcc8799e Ajout des litteraux de type int32, nativeint, int64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-25 12:27:31 +00:00
Damien Doligez 1e16182dc0 amelioration des locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5500 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-06 12:45:03 +00:00
Damien Doligez b06262074d ghosts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5488 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-02 16:03:33 +00:00
Damien Doligez e75e416882 non-bug bizarre
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-02 16:03:10 +00:00
Damien Doligez a57475167b changements ghost locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5476 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-02 01:17:19 +00:00
Damien Doligez d15be1d409 mauvais types de locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5472 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-31 17:11:06 +00:00
Damien Doligez 97247d3dbe (* f '\x00' '"' *)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5469 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-31 16:13:17 +00:00
Damien Doligez ded35d5bce PR#1584
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5432 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 16:33:38 +00:00
Michel Mauny d98aa4b06d Forbidden [| `A ] in the syntax (space between [ and | becomes necessary).
Reordered last production of simple_core_type2


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5431 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-12 13:39:36 +00:00
Damien Doligez 02b019f24f PR#1553, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5419 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-05 14:59:34 +00:00
Pierre Weis b5d0102c05 Nouveau format %$. Introduction des types virtuels: step 1 sans inclusion dans Camlp4
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5409 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-28 06:59:19 +00:00
Damien Doligez 0483c6ac92 PR#1553
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-25 16:38:30 +00:00
Luc Maranget 2258980625 merci damien (locations fantomes)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-02-24 15:13:01 +00:00
Damien Doligez 306f79785d points-virgules mal places
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5386 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-21 12:57:33 +00:00
Damien Doligez 946a2ee86d commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5336 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-12 10:48:49 +00:00
Damien Doligez fc701113aa locations, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5302 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-26 17:14:28 +00:00
Damien Doligez d3de6bd186 changement des locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-14 20:06:59 +00:00
Damien Doligez 7fe1b871ff petit bug toplevel
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5227 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:20:16 +00:00
Damien Doligez ed3123ee87 changement des locations, premiere tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-01 17:06:47 +00:00
Damien Doligez 6112f1860d PR#1464
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5194 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-28 21:47:41 +00:00
Xavier Leroy bd0526b21c Enlever les _ des litteraux flottants, car ocamlopt passe ces litteraux sans modifications a l'assembleur (PR#1457)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5189 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-26 12:02:45 +00:00
Damien Doligez 007f9a7551 ajout _ dans les nombres; ajout \xhh dans les chaines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-02 12:25:15 +00:00
Damien Doligez 9c5fffdf51 \xFF dans les chaines et les caracteres
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5147 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-27 14:11:38 +00:00
Damien Doligez 37bf95c248 detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 14:12:03 +00:00
Pierre Weis a829d1d7d6 Using formats %S and %C.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4959 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-27 09:27:14 +00:00
Xavier Leroy 091e41b9b2 En mode 'dumb', ne pas afficher de ^H et ^M, car ca pose probleme a Emacs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4952 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-26 14:51:03 +00:00
Jacques Garrigue f1a4685927 oubli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 11:04:52 +00:00
Jacques Garrigue 59d5d16cf3 affiche numeros de caracteres ET soulignement pour dumb
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4698 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 08:50:43 +00:00
Jacques Garrigue 0a8236066f vive les methodes polymorphes!
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-04-18 07:27:47 +00:00
Xavier Leroy bd8c3bbd18 Retour en arriere sur le renommage Lexing.lex_buffer_len -> Lexing.lex_buffer_end, car ca casse Hevea
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4542 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-18 16:16:31 +00:00
Xavier Leroy 31b7a96bd8 Suppression flush inutiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4535 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-15 15:34:43 +00:00
Damien Doligez 8ea64b58dc byterun/finalise.c: support pour les lazy finalises
byterun/gc_ctrl.c: ajout Gc.major_slice
byterun/major_gc.c: gros bug dans les valeurs finalisees + ajout Gc.major_slice
byterun/major_gc.h: gros bug dans les valeurs finalisees + ajout Gc.major_slice
byterun/memory.c: typo dans un commentaire
byterun/minor_gc.c: petit bug, ajout Gc.major_slice
parsing/parser.mly: plus de conflits; l'automate reste identique
stdlib/gc.ml: ajout Gc.major_slice
stdlib/gc.mli: ajout Gc.major_slice
stdlib/sys.ml: ajout Sys.ocaml_version
stdlib/sys.mli: ajout Sys.ocaml_version
utils/config.mlp: ajout Sys.ocaml_version


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4357 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-05 17:11:33 +00:00
Xavier Leroy ec9b16b6bc _ dans les litteraux d'entiers et de flottants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4350 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-04 16:44:55 +00:00
Damien Doligez 2599866c9e suppression de conflits sans changement dans l'automate
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4337 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-01 12:26:09 +00:00
Damien Doligez e962b870e8 bug lazy dans ocamlopt + diverses bricoles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4292 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 22:20:58 +00:00
Damien Doligez 0dbce74fc8 lazy a la Tolmach
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4291 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 17:39:10 +00:00
Damien Doligez 3d30e4915e uniformisation des escapes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4286 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-20 16:31:35 +00:00
Jun FURUSE / 古瀬 淳 8c11479ce0 \nnn raises Illegal_escape when nnn>255
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4000 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-11-08 12:59:37 +00:00
Xavier Leroy c771caa3df Ajout de skip_sharp_bang
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3870 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-09 14:55:58 +00:00
Jacques Garrigue 9a32677a10 change it to TERM=character
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3791 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-26 07:33:07 +00:00
Jacques Garrigue b92bf2f469 print position if TERM=dumb (for manual, etc...)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-26 07:27:38 +00:00
Jacques Garrigue 42d1811a93 enrich variant types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3788 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-25 09:54:18 +00:00
Daniel de Rauglaudre 98fce1d671 Suppression du parsage des streams et des parseurs (comme prévu, maintenant
que Camlp4 est inclus).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-09 11:39:34 +00:00
Daniel de Rauglaudre 66c8879b1c affiche les erreurs avec ^^^ si config avec -no-curses
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3735 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-09-08 19:16:19 +00:00
Xavier Leroy 5b7f4655b9 Suppression temporaire infixes `foo` pour release 3.02
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3599 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-07-27 09:35:23 +00:00
Xavier Leroy 220c3186b2 Lexing incorrect de `ident`
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3579 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-07-12 15:54:28 +00:00
Damien Doligez fc53c99cda detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-07-12 12:54:24 +00:00
Pierre Weis 8daa5bdc58 Introduction des infixes `.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-06-12 16:27:26 +00:00
Damien Doligez b594c39052 toplevel: prompt * dans les commentaires
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3418 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-14 10:47:23 +00:00
Pierre Weis 2116da4220 Getting rid of obsolete boolean operators & and or
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-28 13:07:42 +00:00
Damien Doligez b80c77b025 fix -noassert pour que le typage des assertions soit toujours fait
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-04 15:37:05 +00:00
Xavier Leroy ab73fdc7f1 Ajout de la construction 'include' dans les structures
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3350 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-01 09:35:00 +00:00
Damien Doligez 836c1851dd PR#212, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3323 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-31 14:55:30 +00:00
Damien Doligez eb43ecffcb PR#212
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-10-26 13:38:43 +00:00
Jacques Garrigue 5dfbff7f5e change variance syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-07 10:57:32 +00:00
Damien Doligez ee0828c9c4 bug begin end
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3295 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-06 14:18:32 +00:00
Jacques Garrigue 83ca813e4b ajout des variances
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3294 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-09-06 10:21:07 +00:00
Damien Doligez 3d7b7c2e37 option -warn-error
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3283 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-23 17:13:17 +00:00
Xavier Leroy fd8846fecd Portage Cygwin
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-10 09:58:08 +00:00
Damien Doligez b6c2d415c7 MacOS: ASCII seulement (PR#147) + deps
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-06-23 15:08:43 +00:00
Jacques Garrigue 1b1e463092 Simpifie les types de variantes, change le typage des matchings ouverts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3195 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-06-11 14:34:10 +00:00
Pierre Weis 9abfff060e Suppression de Formatmsg, réécriture des messages à l'aide de Format.fprintf
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-21 08:13:22 +00:00
Jacques Garrigue 80fcfd9313 Passe bien a la ligne
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-12 09:54:53 +00:00
Jacques Garrigue 780b65fca6 nouvelle syntaxe avec tilde
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3061 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-12 03:43:25 +00:00
Jacques Garrigue e3dd2e98c4 ajout de "of" dans les types de variantes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3025 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-04-03 01:59:28 +00:00
Xavier Leroy 5c65f975b2 Meilleure impression des exceptions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2990 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-25 18:55:45 +00:00
Jacques Garrigue 68366b2500 sorry for the tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2960 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-15 07:55:24 +00:00
Damien Doligez dc7cea711e MacOS
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2956 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-13 20:34:47 +00:00
Xavier Leroy c4801c35fb Ajout du renommage d'exceptions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-12 13:10:29 +00:00
Pierre Weis b96208b7a2 Revu les impressions du compilateur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2908 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-03-06 22:12:09 +00:00
Jacques Garrigue ef938a7878 newline after position (easier to parse)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2869 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-26 13:29:31 +00:00
Xavier Leroy aa1695e196 Ajout notation a.{i,j,k}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2858 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-24 17:42:32 +00:00
Jacques Garrigue d645ee43e9 #name notation to automatically generate or-pattern from variant type name
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2844 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-22 03:08:08 +00:00
Pierre Weis bce65fcf54 Manque escape sur une chaîne et un retour charriot dans un format.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2816 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-14 15:00:47 +00:00
Xavier Leroy 65b246b9d1 print_flush -> print_newline dans le format d'affichage des warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2806 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-11 12:45:24 +00:00
Pierre Weis 39553e9972 Révision de l'impression à l'aide de format: utilisation de printf
pour condenser les programmes et aussi préparer une future (éventuelle)
internationalisation d'Objective Caml.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2796 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-08 20:00:06 +00:00
Damien Doligez 57872a7078 les conflits sont de retour
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2766 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-24 16:21:07 +00:00
Damien Doligez 9e072eea62 quelques conflits de moins
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2763 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-21 19:01:39 +00:00
Damien Doligez fb92168f40 ajout d'une barre verticale optionnelle; suppression de 18 conflits
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2743 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:40:34 +00:00
Damien Doligez e3f101b756 detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-07 16:35:15 +00:00
Damien Doligez 50606c59fc amelioration message d'erreur illegal character
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-30 17:09:37 +00:00
Damien Doligez 0991853b80 MacOS
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2720 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-30 13:12:10 +00:00
Damien Doligez 1d39852aff completion + adapatation labels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-30 12:52:33 +00:00
Jacques Garrigue b1231d6d1d variant types
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2678 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-08 17:25:36 +00:00
Jacques Garrigue 77d4f18ce6 changed label_pattern syntax
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-08 08:21:57 +00:00
Jacques Garrigue bacf15f614 changed syntax for default values
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2673 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-07 15:00:37 +00:00
Jacques Garrigue 79850cc585 elimine le conflit reduce/reduce sur []
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2672 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-06 17:16:59 +00:00
Jacques Garrigue c7c92e6a06 Nettoyage de l'optimisation des valeurs par defaut dans translcore.ml. Ajout de Default a Asttypes.rec_flag.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2670 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-06 17:05:19 +00:00
Jacques Garrigue 870788858b recover [] as constructor in type definitions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-03 11:10:59 +00:00
Jacques Garrigue ad6a333f08 add directives #modern and #warnings
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-12-03 10:26:08 +00:00
Jacques Garrigue 296fc05470 Merge olabl branch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-30 16:07:38 +00:00
Damien Doligez 5ec4570a0b implementation de -dparsetree
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2634 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:04:43 +00:00
Damien Doligez 21b2a58674 bricoles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2624 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:04:00 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Damien Doligez 536805736c exception -> false dans les assertions
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-15 12:44:49 +00:00
Xavier Leroy a048d42b10 Ajout du module Formatmsg pour rediriger les messages du systeme vers stdout ou stderr suivant le contexte
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-08 17:06:33 +00:00
Xavier Leroy 150172274a Suppression de #line NNN, ambigu avec une application de methode; on garde seulement # NNN
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2449 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-25 09:00:39 +00:00
Damien Doligez 074938fb5b ajout warnings commentaires suspects
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2447 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-21 10:04:08 +00:00
Xavier Leroy 5d5559cc7b Bug avec -. (-. 1.23)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2445 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-19 16:43:49 +00:00
Damien Doligez 7a4d450b0f Amelioration du message d'erreur en cas de chaine non terminee dans un
commentaire.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2437 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-15 18:34:04 +00:00
Damien Doligez 7780cf7ef6 Encore des fixes pour le profiler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2408 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-09-14 17:20:03 +00:00
Damien Doligez ddce71c9ec location.mli, location.ml, parse.ml:
changement du type des locations pour le profiler
parser.mly, pstream.ml:
  changement des locations (type et utilisation) pour le profiler


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-09-08 17:42:36 +00:00
Daniel de Rauglaudre d85840e0e8 Ajouté une contrainte de type "_ Stream.t" dans le stream paramètre des
parseurs.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2381 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-07-09 09:22:17 +00:00
Xavier Leroy 1fe54415e8 Meilleur traitement de #line
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2348 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-03-10 10:05:03 +00:00
Pierre Weis ce7657b91c Repartition des messages entre stderr et stdin
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2288 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-16 18:29:28 +00:00
Jérôme Vouillon 15cd8beaf1 Classes imbriquees
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2202 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-29 17:34:05 +00:00
Damien Doligez 243894f1fa probleme de string dans unterminated comment
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2155 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-05 18:53:28 +00:00
Pierre Weis cae7b06b44 Addition du warning de la séquence et du pilotage des warnings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2146 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-05 08:02:52 +00:00
Jérôme Vouillon ef8b794bb0 List.rev manquant
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2115 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-10-10 17:52:23 +00:00
Damien Doligez 1785aa4ef9 portage MacOS standalone: T=0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2111 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-10-02 13:02:32 +00:00
Damien Doligez 725b15bd02 terminfo: changement du jeu de primitives en vue du portage Mac
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2089 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-09-02 18:21:00 +00:00
Damien Doligez f47a86f6a1 fix bug: message d'erreur sur la derniere ligne d'un fichier sans newline
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2082 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-27 12:12:40 +00:00
Jérôme Vouillon f038703278 Contraintes (c : ct) dans le langage des classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2055 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-15 13:40:49 +00:00
Damien Doligez 28db70829f parser.mly: bug des listes dans le profileur
.cvsignore: ajout parser.output


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-07 18:44:46 +00:00
Xavier Leroy a470909e33 Suppression du mot-cle closed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-07-31 12:49:32 +00:00
Jérôme Vouillon 87b17301f4 Nouvelle syntaxe des classes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1997 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-06-24 19:22:26 +00:00
Damien Doligez 3710282500 amelioration des locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1963 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-05-23 14:10:59 +00:00
Xavier Leroy 966c09366b Ajout de l'extension de records {r with lbl=expr}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1939 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-27 15:17:11 +00:00
Xavier Leroy 1147c3d20d Ajout des regexp nommees (let name = regexp) dans ocamllex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1910 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-07 12:50:19 +00:00
Xavier Leroy e7c438472b Ajout des motifs de tableaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1896 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-04-06 09:16:54 +00:00
Xavier Leroy 83cea541c3 Ajout de let module = <modulexpr> in <expr>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1882 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-02-26 12:54:44 +00:00
Xavier Leroy 06b7420e8a Ajout de ocamlc.opt. MAJ en vue release 1.06.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-17 10:39:01 +00:00
Jérôme Vouillon 576365579c \"private method\" -> \"method protected\"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1763 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-13 09:04:16 +00:00
Xavier Leroy 915299517e Revu les erreurs de syntaxe sur les parentheses pas fermees, etc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1760 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-12 12:32:53 +00:00
Damien Doligez 7c670708dd lazy qui marche avec let rec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1730 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-10-22 13:26:05 +00:00
Damien Doligez c194d39545 Paresseux.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1716 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-10-14 13:17:48 +00:00
Damien Doligez 1d41f4abb0 Underscore en debut d'ident
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-11 15:09:59 +00:00
Xavier Leroy 579e1523e9 Meilleures erreurs de syntaxe pour les parentheses mal fermees, etc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1689 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-08-22 08:55:41 +00:00
Daniel de Rauglaudre 6f41413dda Correction erreur scons -> lcons et sapp -> lapp dans les nouveaux streams.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1645 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-07-13 18:25:26 +00:00
Xavier Leroy 1c31feddb5 Ajout de .ocamlinit et des scripts
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1639 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-07-03 14:32:35 +00:00
Xavier Leroy b149e67a88 Nouveau module Marshal dans stdlib
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1633 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-07-02 18:16:15 +00:00
Damien Doligez a8bd728221 Amelioration de la gestion des locations dans les parseurs de streams.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-18 15:02:04 +00:00
Daniel de Rauglaudre dad3660233 Ajout systeme pour arite explicite des constructeurs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-16 18:10:35 +00:00
Daniel de Rauglaudre 45ffca1009 Nouvelle version des Streams
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-16 15:33:44 +00:00
Xavier Leroy e159e94f83 Suppression des tokens DOTLBRACKET et DOTLPAREN, inutilises.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1598 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-06-13 15:53:14 +00:00
Damien Doligez 03ec746bf1 deTABisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-19 15:42:21 +00:00
Xavier Leroy 58d10b597a Sortir les warnings sur stderr si pas au toplevel.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-15 13:27:15 +00:00
Damien Doligez 4e310fc543 Ajout assert
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1544 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-13 18:28:25 +00:00
Damien Doligez 2d7df3dd1c Encore un detail sur le ;
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1538 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-13 14:45:28 +00:00
Damien Doligez 6a87510d7a Le probleme du point-virgule est enfin resolu.
Il n'y a plus de probleme avec l'appel terminal.
54 conflits shift-reduce ont disparu dans l'operation.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1530 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-12 15:10:03 +00:00
Jérôme Vouillon 874f21a083 Methodes privees.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-11 21:48:21 +00:00
Damien Doligez 49c4529bd2 Fix de EOF dans les lexeurs, suite.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1506 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-04-16 13:19:12 +00:00
Damien Doligez 369e6c72d8 Fix pour afficher correctement en cas de EOF a toplevel.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1502 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-04-15 19:18:41 +00:00
Xavier Leroy 7eda8f3c69 Retour du ; optionnel -- Coq l'utilise beaucoup...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1366 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-10 15:02:29 +00:00
Xavier Leroy b72e959744 Suppression du ; optionnel, trop ambigu. La syntaxe est suffisamment confuse comme ca.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-08 12:14:57 +00:00
Jérôme Vouillon 3a88e177ed L'alias (t as 'a) peut etre utilise avec tout type t (pas seulement
objet et type construit).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1331 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-07 22:26:29 +00:00
Xavier Leroy 3693be4981 Au toplevel, permettre plusieurs items de structures non separes par
des ;;


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1313 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-04 10:21:07 +00:00
Jérôme Vouillon a4eea9ac45 Les parametres des constructeurs de types peuvent etres
contraints. Par exemple :
  type 'a t = 'b * 'c constraint 'a = 'b -> 'c


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1285 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-02-20 20:39:02 +00:00
Daniel de Rauglaudre cc9c2b8841 - Ajout type "any"
- Test compatibilite version AST avec preprocesseur


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1262 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-02-11 18:24:47 +00:00
Xavier Leroy 58a45db558 Oubli d'un code de debug
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1261 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-02-07 12:39:05 +00:00
Xavier Leroy 6389c34a64 Determination des numeros de lignes: comparer la position avec celle
de la fin de la ligne, non pas du debut.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1259 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-02-06 09:51:21 +00:00
Xavier Leroy 9dc13af5df Meilleur parsing des directives # line "file".
Ajout de parsing/linenum.{mll,mli}.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1258 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-02-04 15:40:22 +00:00
Xavier Leroy 1bdcdbdbc6 Tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1236 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-01-05 14:03:14 +00:00
Xavier Leroy 55a1653c28 Reconnaissance de # line "filename"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1231 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-01-01 15:36:18 +00:00
Xavier Leroy e12a8d1fd5 Utilisation de Sys.os_type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-07 11:01:05 +00:00
Damien Doligez b789657ee1 Portage Mac/MPW
lexer.mll: char_for_backslash version Mac
  location.ml: message d'erreur executable pour Mac


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1137 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-02 18:03:23 +00:00
Jérôme Vouillon d8ef8e4915 Type de methode maintenant optionnel dans interface de classe (permet
de passer de virtual a method sans avoir a preciser le type).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1110 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-26 22:06:22 +00:00
Jérôme Vouillon bcf2afbb79 (#m) comme abreviation de fun x -> x#m.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1109 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-26 21:42:48 +00:00
Damien Doligez 2ec928c34a location.ml: bugfix affichage toplevel avec nouveau prompt.
parser.mly: "x;" synonyme de "x;()"


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-08-22 18:12:24 +00:00
Jérôme Vouillon ed1cdeebcf Amelioration de quelques messages d'erreur.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@840 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-26 13:42:34 +00:00
Jérôme Vouillon 064465320e Nettoyage : Label.t remplace par string.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@824 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-16 16:10:16 +00:00
Daniel de Rauglaudre af1138b1c5 Bar optionnel dans parser 1er cas
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-09 14:27:48 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Jérôme Vouillon bc19852852 Modification de la syntaxe des classe.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@760 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-25 10:35:04 +00:00
Jérôme Vouillon 7974a9d8b1 Extension objets.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@756 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-22 11:15:41 +00:00
Xavier Leroy c4d10d8199 Meilleur traitement du let _ = expr toplevel.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@738 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-04 15:56:46 +00:00
Xavier Leroy 22bc127a92 csllex utilise un automate a pile
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-02-25 14:45:47 +00:00
Xavier Leroy 97ef452fb6 Bug sur CR-LF dans les chaines.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@618 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-02-01 15:04:05 +00:00
Xavier Leroy dc1256045a && et || comme synonymes de & et or.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@538 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-15 10:20:24 +00:00
Xavier Leroy 6956438abd Repasser en standout off dans tous les cas.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@495 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-29 13:38:38 +00:00
Daniel de Rauglaudre 52744a80c3 [< >] au lieu de [: :]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@486 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-28 15:00:53 +00:00
Daniel de Rauglaudre 32878e804f Use question mark in syntax of parser errors.
Correct bug: Parse_failure should not be handled in actions.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@438 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-13 13:28:09 +00:00
Daniel de Rauglaudre e485a5c1ec Add "when" case in parsing. Add precedence for expressions in parsers.
Change entries to make them more pretty.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-10 15:14:14 +00:00
Daniel de Rauglaudre abd2049344 Added "parser match".
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@434 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-09 16:03:52 +00:00
Daniel de Rauglaudre 36078ba062 Streams and parsers. Very first version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@424 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-09 11:08:48 +00:00
Daniel de Rauglaudre 734c296049 Syntactic sugar for streams and parsers. Very first version.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@422 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-09 11:03:37 +00:00
Xavier Leroy 59b4e67cad Dans les fichiers de #use, les ;; sont optionnels
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@387 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-11-01 18:12:24 +00:00
Xavier Leroy 54af548aa7 Ajout de | au debut des pattern-matchings et des definitions de types.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@340 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-18 15:32:39 +00:00
Xavier Leroy 4cec42eea3 Annotations de location sur les structure_item.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@322 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-05 15:18:49 +00:00
Xavier Leroy e6517c9ced Precedence mal orthographiee.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@312 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-03 14:06:01 +00:00
Xavier Leroy db7e46b25c Introduction de "S with module ... = ..."
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@306 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-10-01 13:39:43 +00:00
Xavier Leroy 016f79071f Contraintes "with" revues (ajout de with S.t = typ, suppression de
with t = A | B).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@298 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-28 10:41:50 +00:00
Xavier Leroy fb0acf5bc7 Rectof resolution d'un conflit pour types concrets manifestes.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@293 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-27 10:47:51 +00:00
Xavier Leroy 371c25886c Possibilite de rendre manifestes des types variant ou record
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@290 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-26 20:23:29 +00:00
Xavier Leroy 3592185df9 Ajout du ;; optionnel dans les structures et signatures.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@283 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-20 13:34:08 +00:00
Xavier Leroy 827c597016 Nettoyage de la grammaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@256 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-11 08:09:22 +00:00
Xavier Leroy 773f1c8184 Soulignement d'une location: prevoir le cas ou on affiche plusieurs
warnings pour la meme phrase.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@253 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-08 08:55:59 +00:00
Xavier Leroy 2be298be1d '$' autorise au debut d'un symbole.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-04 12:06:52 +00:00
Xavier Leroy 7cc46031a8 MAJ fichier .cvsignore
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-29 08:35:48 +00:00
Xavier Leroy 248dbe55d2 Plus de ~ au debut d'un operateur infixe.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-08-24 13:24:02 +00:00