[wg-camlp4] Meta Programming from the view of the implementaion

Hongbo Zhang hongboz at seas.upenn.edu
Thu Jan 31 12:46:59 GMT 2013


why should we introduce so many  concrete syntax notation here?

In Fan,
{:json| ... |}
if "|}" is used inside,* the user (optionally) can introduce a new
separator following "|" immediately*
{:json|/ ... /|}

On Thu, Jan 31, 2013 at 7:42 AM, Leo White <lpw25 at cam.ac.uk> wrote:

>
>  {:json {<{ {"streetAddress": "21 2nd Street"} }>}}
>>>
>>
>> I would write this:
>>
>> (:json {{ {"streetAddress": "21 2nd Street"} }})
>>
>>
> My original example included a "}}" in the JSON itself, I removed it by
> accident when shortening the example.
>
>
> ______________________________**_________________
> wg-camlp4 mailing list
> wg-camlp4 at lists.ocaml.org
> http://lists.ocaml.org/**listinfo/wg-camlp4<http://lists.ocaml.org/listinfo/wg-camlp4>
>



-- 
-- Regards, Hongbo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/wg-camlp4/attachments/20130131/ccc848b8/attachment.html>


More information about the wg-camlp4 mailing list