Menu

#17 integrate jcpp with cppncss

None
open
nobody
None
5
2013-03-22
2009-10-13
Anonymous
No

With jcpp now cppncss can correctly handle all the macros/definitions/#if/#else etc.
This is the full source code modified on cppncss 1.0.3 release.

Discussion

  • Nobody/Anonymous

    full source code.

     
  • wen shaohua

    wen shaohua - 2009-10-13

    Sorry forget to login, this patch is from holywen :)
    Thanks for this wonderful tool!

     
  • Mathieu Champlon

    That's a really great idea !
    I didn't know about jcpp, is it fairly recent ?

    I'll have a try at integrating your patch (and making a new release) when I can manage to find a bit of time.

    Thanks !

     
  • wen shaohua

    wen shaohua - 2009-10-14

    You can find jcpp here: http://www.anarres.org/projects/jcpp/
    I'm using jcpp 1.2.5. And the license is Apache-2.0.

    Just found that we can remove the getopt depencency by remove the main.java class.

    I also modified some test cases of cppncss to make it support -Dpublic=p kind of stuff.
    I think you can revert that part because now what I changed is using jcpp to handle -D part, and still using cppncss's preprocessor to handle -M part, some times this way do helps.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.