https://github.com/aryx/syncweb/commit/8cc3f10599bf65ab57947950f30cb6b18d83db14
can start to also package the indexer and lpizer
to pretty print better ocaml code. Try on VCS.nw? just copy what noweb does in syncweb -to_tex
a Uses x probably because graph_code_c unsugar such decl as a decl + separate assign.
and support \swuses{} and use it for lname, etc? also for rules? meh.
now that mk index use header deps (to have a low number of lookup failures), I can use those header information to improve the automatic indexing
step1: DONE get an index displayed step2: DONE get complete and correct index displayed (use codegraph? cover fields?) step3: SEMI get nice index displayed (in margin? mini indexes? no duplicate, sorted)
are at the wrong place
\twocolumn causes a pagebreak
so can reference right chunk! maybe no need now that I use candidate strategy, maybe for OCaml it can be useful, but not even sure
defined partly in the same section (when functions defined by multiple pieces)
nil, strlen, etc? with reference to Libcore?
long, lots of stuff to fix in 5c-in-ocaml …
but codegraph does not have info for fields actually, maybe better to start from 5c-in-ocaml :)
Also it adds many dependencies. Maybe easier to start from scratch and precisely from 5c-in-ocaml?
parse correctly everything?
need take pen and paper and go through … maybe can save result and present it in Compiler.nw or something. Hard to understand tables.
need resolve, but have type information so should be doable.
I had to dedupe files because I was also processing preprocessed ASTs
or maybe better the mini-index a la noweb in the end? see below
try hand generate some \mini reread milp.pdf? => I can generate everything from scratch, without even using noweb or cweb
but seems hard. plain tex and latex seems incompatible
left and right places? Or can incorporate ctwill macros?? Or look in .aux file a la nuweb and generate myself?
it generates defs/uses after each chunk, nice, but I prefer the mini-indexes I think dave hanson managed to do it
but filter to only put important crossref? like not the one available on the same page?
apparently according to http://www.literateprogramming.com/best.pdf the index information is generated in raw form from noweb in latex file, and david hanson wrote Icon program to dig in .aux file and build the mini-indexes
use margin notes?