From 60a6dc67fb87c30e87df2678888f1719cf333030 Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Thu, 24 Feb 2022 10:39:30 -0500 Subject: [PATCH] pass jny: added some todo comments about things that need to be done before a proper merge, but it should be enough for the PoC at the moment (cherry picked from commit dccc89e8b3e8f711e66461c0dbc5595d6d35353a) --- backends/jny/jny.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backends/jny/jny.cc b/backends/jny/jny.cc index 92424b34c..15dc1c350 100644 --- a/backends/jny/jny.cc +++ b/backends/jny/jny.cc @@ -37,6 +37,10 @@ struct JnyWriter private: std::ostream &f; bool _use_selection; + + // XXX(aki): TODO: this needs to be updated to us + // dict and then coalesce_cells needs to be updated + // but for now for the PoC this looks to be sufficient std::unordered_map> _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"); -- 2.30.2