ocaml/parsing
Gabriel Scherer 16bc43219c Add a special syntax for index operators
This commit introduces a new syntax for index operators.
Six core parenthesis operator are added:
.(), .[], .{}, .{,}, .{,,}, .{,..,}.
The .{,}/.{,,}/.{,,,} operators are defined for compatibility with the Bigarray syntax extension.
Each core index operator is available in a access/assignement versions. For instance, .() is declined in
* .() : index operator
* .()<- : indexed assignment operator
The general syntax for these index operators as implemented in the parser is index_operator::= index_operator_core [<-]

From: octachron <octa@polychoron.fr>

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15660 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-13 22:13:32 +00:00
..
.ignore uniform .ignore system 2011-07-20 15:37:36 +00:00
ast_helper.ml Reintegrate-merge constructors_with_record5 branch. 2014-10-14 15:51:30 +00:00
ast_helper.mli Reintegrate-merge constructors_with_record5 branch. 2014-10-14 15:51:30 +00:00
ast_mapper.ml Reintegrate-merge constructors_with_record5 branch. 2014-10-14 15:51:30 +00:00
ast_mapper.mli Document -ppx option. 2014-10-04 10:39:29 +00:00
asttypes.mli Revert addition of raw literals to the parsetree 2013-05-23 15:12:04 +00:00
lexer.mli merge changes from branch 4.02 from branching (rev 14852) to 4.02.0+rc1 (rev 15121) 2014-08-22 13:45:02 +00:00
lexer.mll PR#5584: merge open extensible types, extension-patch-4.0.2 2014-05-04 23:08:45 +00:00
location.ml merge branch 4.02 from release 4.02.0 to release 4.02.1 2014-10-15 13:34:58 +00:00
location.mli Cherry-pick 15062,15063,15064 from 4.02 (#6497). 2014-08-07 09:46:34 +00:00
longident.ml Get rid of type-qualifed constructor paths for extensible types. 2014-09-26 16:25:29 +00:00
longident.mli Get rid of type-qualifed constructor paths for extensible types. 2014-09-26 16:25:29 +00:00
parse.ml Cleanup. 2013-09-10 12:21:45 +00:00
parse.mli Add entry points to parse expressions/types/patterns. 2013-03-29 09:45:45 +00:00
parser.mly Add a special syntax for index operators 2014-12-13 22:13:32 +00:00
parsetree.mli #6688: fix comment. 2014-12-10 13:39:39 +00:00
pprintast.ml merge branch 4.02 from release 4.02.0 to release 4.02.1 2014-10-15 13:34:58 +00:00
pprintast.mli Reintegrate-merge constructors_with_record5 branch. 2014-10-14 15:51:30 +00:00
printast.ml Reintegrate-merge constructors_with_record5 branch. 2014-10-14 15:51:30 +00:00
printast.mli More explicit internal representation of attribute payload. Now also support patterns as payload [%id ? pat]. 2013-07-22 14:58:15 +00:00
syntaxerr.ml merge changes from branch 4.02 from branching (rev 14852) to 4.02.0+rc1 (rev 15121) 2014-08-22 13:45:02 +00:00
syntaxerr.mli merge changes from branch 4.02 from branching (rev 14852) to 4.02.0+rc1 (rev 15121) 2014-08-22 13:45:02 +00:00