On Fri, May 29, 2015 at 5:55 PM, Ilinca Andrei
<andrei.ilinc...@gmail.com> wrote:

> I tried to change its grammar to parse some simple .csg functions
> like group() or multimatrix() and it corectly identified them but I run into
> some errors which I could not solve at that time.

Were you able to subsequently get this working to your satisfaction,
with the build sytem issues cleared away?

> So far, I have noticed the following aspects. Lemon documentation is slim
> and the examples are scarce. Those in the first link are (mostly) broken and
> I spent a good deal of time fixing what was supposed to be working.

You'd be surprised how often such situations arise in software
development - it's a normal part of the process.

> I'm certainly not backing down from this challenge. The way I see it, it would
> be useful to choose Lemon over self-developed parser in case the extension
> to .scad would be easier. I know we're one week in the coding period and I'm
> still stuck and I'm self-pressured about getting things going.

What specifically are you stuck with?  Can you share some of the
particular problems you're seeing with re2c/lemon?

Either approach (custom or re2c/lemon) is fine - you should pick the
one you feel is the best fit to both your skills and the problem.  Nor
is this a situation where you necessarily have to commit to one
approach and never look back - you may find that as you get more
deeply into the problem with one approach you are learning more about
the problem which indicates the other approach would have been better.
You will most likely find that the code you write (and *certainly* the
knowledge you develop) will be useful regardless, even you have to
"translate" it from one approach to another.

Cheers,
CY

------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to