Tim,

Thanks for your generous offer. Code review would be great. My next steps
include

   - Wiring up BDBXML for a persistence layer
   - Wiring up ANTLR as the fallback parser generator

If you, or anyone, wants to take a swipe at a relational persistence as
well, that would be fantastic. The idea is to simply generate the subclasses
of the classes in Absyn that would provide the mapping to store. Since i've
got a functioning Java parser, i was going to attack the problem at that
level. This allows me to generate Scala classes with very little pain. It's
also possible to take the following approaches.

   - Hack the backend of BNFC
   - Use the visitor pattern stuff generated by BNFC

Of course, code review would be great. Also, i just got a note from someone
that the jlex/cup dependencies are being properly handled by maven. If you
could verify, that would be awesome.

Best wishes,

--greg

On Fri, May 15, 2009 at 4:40 AM, Timothy Perrett <[email protected]>wrote:

>
> Greg, I find this very interesting.
>
> How can I help you out here? I can certainly review your lift code,
> not so sure about some of the crazy conceptual stuff though!
>
> Cheers, Tim
>
> On May 14, 8:41 pm, Meredith Gregory <[email protected]> wrote:
> > Lifted,
> >
> > i've added support to the rlambda lift
> > project<http://code.google.com/p/rlambda/>taking it within range of
> > being a candidate DSL-archetype. At this point it
> > is possible simply to supply a .cf file in the src/main/bnfc directory
> and
> > it will generate everything from that. i've still got to conditionally
> > include the Eval and Compile functionality for DSL that have/don't have
> this
> > capability.
> >
> > i've two remaining questions for this leg of the work.
> >
> >    - Does anyone know how to reference maven dependencies within some
> flavor
> >    of maven-antrun-plugin? The original version does not appear to have
> this
> >    functionality and Sun's maven-antrun-extended-plugin (which is
> supposed to
> >    supply this functionality) has so little documentation (that i could
> find)
> >    that i couldn't get it to work after an hour our so.
> >    - This version requires that BNFC, as an executable, be available on
> the
> >    path. Is there a blessed way to handle this sort of dependency?
> >       - i've got a hare-brained scheme that will fix this -- a
> >       meta-compiler-compiler from BNFC's input format to ANTLR's. i
> > could include
> >       such a transform as a part of the project or a dependency and
> > test for the
> >       availability of BNFC and fall back to ANTLR if it's not available.
> >
> > If anybody wanted to give this round of updates a whirl, even give me a
> code
> > review, i would be very grateful.
> >
> > Best wishes,
> >
> > --greg
> >
> > --
> > L.G. Meredith
> > Managing Partner
> > Biosimilarity LLC
> > 1219 NW 83rd St
> > Seattle, WA 98117
> >
> > +1 206.650.3740
> >
> > http://biosimilarity.blogspot.com
> >
>


-- 
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to