On May 20, 2015, at 5:59 PM, Ilinca Andrei <andrei.ilinc...@gmail.com> wrote:
> I was looking for a way to integrate my re2c lemon parser, and, as discussed
> in the last mails, I tried to use dom2dox as an example but dom2dox doesn't
> compile. I svn updated everything to Version 65018 but I still get
> differences between my end and the main repo and I don't know why. What do
> you think is the problem here?
That’s hard to say. Your svn diff patch looks like you straight-up copied the
entire thing to src/conv/csg without getting it working first, so you’re almost
certainly fighting multiple problems. Given the status of dom2dox, it’s
probably not the best starting point until someone gets it compiling cleanly
except as a rough reference. I worked on it for a few minutes and noticed
several problems myself.
> Kalpit tried to help me the other day, making a nice Google Doc with
> instructions but they didn't seem to work on my machine, so I svn updated
> BRL-CAD to clear any modifications.
That’s pretty frickin’ awesome of Kalpit to investigate and write that up.
Shouldn’t be necessary, but awesome.
> I have been trying to integrate my small parser into BRL-CAD using dom2dox
> and wfobj as examples for over a week now and I am really stuck at the
> moment. As I've seen the midterm evaluation is closer then originally
> expected, I will have to step up the work to achieve the proposal
> deliverables.
I suggest one of three paths: 1) start completely fresh outside of our sources
writing a simple lemon parser that takes 2 + 2 and produces 4, get it compiling
manually without cmake involved OR 2) start implementing a flex+bison parser
(outside our sources) for .csg but planning on converting it to perplex+lemon
syntax later OR 3) implement a custom .csg parser by hand.
Only do #2 if you already have experience writing a BNF grammer and/or
flex+bison experience. If someone gets the example working before Monday, #1
is probably reasonable. Lacking both, go to town with #3 within our tree.
Cheers!
Sean
p.s. Your mentor can overrule everything I just said. ;-)
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel