1. 08 Apr, 2013 1 commit
    • Dick Hollenbeck's avatar
      Implement "KiCad s-epression" support for boost::property_tree's ptree, the 8 · 6bf3d7cd
      Dick Hollenbeck authored
      bit string version of property_tree. The ram resident structure of the ptree is
      mostly compatible with one created using the xml_parser from
      boost::property_tree, with slight differences in the way atoms are stored. The
      result is you can use Format() to convert from xml to s-expression, but not the
      other way around. You can write a simple s-expression beautifier in just a few
      lines of code.
      
      The main value however is the s-expression parser, i.e. Scan(), which is an
      alternative to crafting a custom recursive descent parser for a particular
      grammar. The tipping point depends on whether you want to read only a small
      portion of a much larger document. If so, then using the ptree will likely be a
      "faster to code" route. Documentation on how to navigate a ptree can be found on
      the boost website and there are a number of examples in the
      pcbnew/eagle_plugin.cpp file in this project. Powerful path navigation support
      makes it easy to extract a subset of a ptree.
      6bf3d7cd
  2. 18 Mar, 2013 1 commit
  3. 15 Mar, 2013 2 commits
  4. 21 Sep, 2012 1 commit
  5. 20 Sep, 2012 1 commit
  6. 25 Jun, 2012 1 commit
  7. 24 Jun, 2012 2 commits
  8. 23 Jun, 2012 1 commit
  9. 16 May, 2012 1 commit
  10. 30 Apr, 2012 1 commit
  11. 23 Jan, 2012 1 commit