Hello,

Firstly, thank you, Cliff, for you help with that csg integration patch, it
really got disappointing not managing to make it work for so long. I added
it to my svn copy and it compiled perfectly.

Secondly, as Sean recommended, I started building a simple mathematical
lemon parser in a incremental way, following this tutorial
<http://souptonuts.sourceforge.net/readme_lemon_tutorial.html> . I'm 2/5
done with it and I hope I will have it completed by tomorrow.

I believe my initial, working, parsing patch should successfully read any
.csg file and just print the tokens found. Does this sound fit? On this
note, It will probably take longer to submit a patch request as anything
below that could not and should not be integrated into BRL-CAD. If you
consider I should submit this mathy parser aswell, just let me know.

Best regards,
Andrei

On Tue, May 26, 2015 at 2:02 AM, Clifford Yapp <cliffy...@gmail.com> wrote:

> Andrei,
>
> Since the perplex/re2c/lemon setup is a bit obtuse from a build system
> perspective (which is my fault primarily) I've taken your patch and
> adapted it to give you what should be a minimal working setup.  The
> attached patch, applied to the top level of a clean BRL-CAD trunk
> checkout, should result in a src/conv/csg setup that will build.
> Applying it to a tree with your existing csg work won't work - it must
> be applied to a clean checkout.  Study it carefully to see if it makes
> sense, and note the changes I made to the CMakeLists.txt file and the
> perplex/lemon inputs.  If you want to see the details of what commands
> it is running to build the various intermediate files,  use make
> VERBOSE=1 to build.
>
> >From this starting point, if you want to pursue this approach a bit
> further, the next step is to make this do something simple.  I haven't
> altered any of the logic - this is just to try to get you over the
> build system hurdles and started with the important bit - the csg
> logic. Don't try to preserve all the complexities of what is in the
> perplex and lemon files now.  Sean's suggestion of a simple adder
> would be a good starting point.
>
> CY
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to