pass jny: added some todo comments about things that need to be done before a proper...
authorAki Van Ness <aki@yosyshq.com>
Thu, 24 Feb 2022 15:39:30 +0000 (10:39 -0500)
committerN. Engelhardt <nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000 (08:05 +0200)
backends/jny/jny.cc

index 92424b34c10ad856432c1a817e9aaef0a0ed4ccd..15dc1c3507b1e8e7faf2078df51bb01995d72387 100644 (file)
@@ -37,6 +37,10 @@ struct JnyWriter
     private:
         std::ostream &f;
         bool _use_selection;
+
+        // XXX(aki): TODO: this needs to be updated to us
+        // dict<T, V> and then coalesce_cells needs to be updated
+        // but for now for the PoC this looks to be sufficient
         std::unordered_map<std::string, std::vector<Cell*>> _cells{};
 
         bool _include_connections;
@@ -417,6 +421,7 @@ struct JnyWriter
 struct JnyBackend : public Backend {
     JnyBackend() : Backend("jny", "generate design metadata") { }
     void help() override {
+        // XXX(aki): TODO: explicitly document the JSON schema
         //   |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
         log("\n");
         log("    jny [options] [selection]\n");