uid / snapdown

Draw snapshot diagrams with plain text
MIT License
3 stars 0 forks source link

Name disambiguation #15

Closed dwhatley19 closed 4 years ago

dwhatley19 commented 4 years ago

Snapdown does not properly resolve the name b in this example diagram, instead making the a field of the Map point to the variable name b: https://web.mit.edu/dwhatley/www/snapdown/web/production.html#a%20-%3E%20(String%20%22hello%22)%0Ab%20-%3E%20a%0Ac%20-%3E%20(Map%20a%20-%3E%20b)

More severe example: https://web.mit.edu/dwhatley/www/snapdown/web/production.html#a%20-%3E%20(String%20%22hello%22)%0Ab%20-%3E%20a%0Ac%20-%3E%20(Map%20a%20-%3E%20e%2C%20e%20-%3E%20d%2C%20d%20-%3E%20b)

which currently produces:

Screen Shot 2020-08-04 at 11 53 28 AM
dwhatley19 commented 4 years ago

Resolved - name lookup in Snapdown is now much more reliable.