Alain Frisch
|
91b2f18ef8
|
Cleanup ppx API.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2013-09-26 08:03:49 +00:00 |
Alain Frisch
|
48edce920b
|
Switch to a record-based API for Ast_mapper, so that it can be used within the compiler itself (where objects are banned). The class-based version will be shipped as part of the ppx_tools package. Only the ifdef example has been adapted in experimental/frisch.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2013-09-25 15:14:38 +00:00 |
Alain Frisch
|
87d9d6c877
|
More explicit internal representation of attribute payload. Now also support patterns as payload [%id ? pat].
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13919 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2013-07-22 14:58:15 +00:00 |
Alain Frisch
|
eb4130e47c
|
The arument of attributes and extension nodes is now a structure, which is syntactically more general than an expression (through the embedding E -> [Pexp_eval E]).
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13579 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2013-04-19 07:40:57 +00:00 |
Alain Frisch
|
0ab42b2efa
|
Enrich ifdef example.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13569 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2013-04-18 15:28:19 +00:00 |
Alain Frisch
|
fc2ee380a1
|
Adapt ifdef example.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13567 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2013-04-18 15:06:33 +00:00 |
Alain Frisch
|
b36ec9f764
|
Get rid of the 'explicit arity' flag on Pexp_construct/Ppat_construct. If really requires (for camlp5?), the feature should be reimplemented with attributes.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2013-04-17 09:46:52 +00:00 |
Alain Frisch
|
07a3f52d76
|
Extend ifdef example, with a compile-time getenv.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2012-06-29 10:04:17 +00:00 |
Alain Frisch
|
9d32d89108
|
Better error report.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12654 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2012-06-29 09:49:52 +00:00 |
Alain Frisch
|
8531a5c8ee
|
Continue demo of ast mapper.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12653 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
|
2012-06-29 09:36:32 +00:00 |