[Opa] General Questions

Adam Koprowski Adam.Koprowski at mlstate.com
Sun Dec 11 20:31:01 UTC 2011


   Gary,
  yes, absolutely, I didn't mention it as it was linked from the article I
mentioned (along with another TRX article; there were 3 in total).
  Best,
  Adam

On Sun, Dec 11, 2011 at 21:04, Gary Wynne <garycwynne at gmail.com> wrote:

> Thanks for the link - understanding more now :)
>
> This is a pretty good link too, for a parsing tutorial:
> http://blog.opalang.org/2011/07/trx-parsing-in-opa.html
>
> Best regards - Gary
>
> On 11 December 2011 18:01, Adam Koprowski <Adam.Koprowski at mlstate.com>
> wrote:
> >    Dear Gary,
> >
> >>
> >> > dispatcher = parser
> >> >   | url=(.*) -> page(<>Visiting: {url}</>)
> >>
> >> [...] I think the most confusing part is from where it starts with
> >> dispatcher = ...
> >> Where in the docs would be the best place to look to understand what is
> >> actually happening in the above code snippet?
> >
> >
> >   'dispatcher' is a parser that given the string (requested URL)
> produces a
> > web resource (server's response). They are explained in the documentation
> > here: http://doc.opalang.org/#section_syntax_trex, but I just noticed
> that
> > this section needs a serious re-write (for instance it's not true that
> > parsing expression grammars don't behave anything like regular
> expressions;
> > although, indeed, there are important differences). Another possible
> source
> > of information about parsers is this blog
> > post: http://blog.opalang.org/2011/08/image-part-3-parsing-external.html
> .
> > Finally, if you have some particular questions don't hesitate to ask on
> the
> > list or on StackOverflow.
> >
> >   Best,
> >   Adam
> >
> > --
> > Adam Koprowski                [http://adam-koprowski.net]
> > Opa Tech Evangelist @ MLstate [http://opalang.org | http://mlstate.com]
>



-- 
*Adam Koprowski                [http://adam-koprowski.net]
Opa Tech Evangelist @ MLstate [http://opalang.org | http://mlstate.com]*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/opa/attachments/20111211/38a1a7c9/attachment-0001.html 


More information about the Opa mailing list