Update todo.

This commit is contained in:
Robbie Gleichman 2016-12-09 17:44:41 -08:00
parent c7ab6883f7
commit d0f400466b
2 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,7 @@ firefox images/fact.svg
## Issues
Glance is still in development, so for the time being, layout, routing, and icon design all have much room for improvement. Here are some specific issues:
* Text boxes may not display correctly with some SVG viewers.
* Images become very large when rendering medium to large functions.
* Images become very spread out when rendering medium to large functions.
* Only a subset of Haskell is rendered
## Getting started

View File

@ -1,4 +1,7 @@
-- TODO Now --
Put the name and type for top-level-binds in a text box below drawings.
Translate (.) into compose
Make GitHub issues
-- TODO Later --
-- Add documentation.
@ -7,17 +10,19 @@
Fix the arrowheads being too big for SyntaxGraph drawings.
-- Visual todos:
Draw bounding boxes for lambdas (use dashed lines)
-- Make an icon font/library with labeled ports. E.g. the apply icon would have text labels "function", "result", "arg 0", "arg 1", etc.
-- Don't rotate text and nested icons, give them rectangular bounding boxes in GraphViz. (Perhaps use a typeclass for isRotateAble)
-- Give lines a black border to make line crossings easier to see.
-- Give lines that cross the border of a lambda function a special color.
-- Line intersections should have a small circle. This could probably be done with
-- a line ending.
-- Let each bool, value pair in Guard icon be flipped to reduce line crossings. Do the same for case.
-- Let lines connect to ports in multiple locations (e.g. case value, or guard result)
-- Use different line styles (e.g. dashed, solid, wavy) in addition to colors
Use diagrams to shrink the drawing until icons start overlapping.
-- Translate todos:
Consider adding binding variable names to the lambda icon and match icon. Don't display the name if it is only one character.
Fix applyComposeScore in Translate.hs not counting expressions that nest via reference. May need to move compose generation to after translate.
-- Fix test case x of {0 -> 1; y -> y}.