I'm search for a tool that will display similar diagrams:

S-Expression diagram

the diagram was created in Inskcape based on SICP illustrations.

Do you know any way to generate this type of diagrams, best would be JS but it can be anything, it can be similar diagram that show S-Expression structure. Maybe something to draw binary trees.

It don't look very hard to create, but before I start writing something of my own, I want to see if there is something already, maybe something I can use as a base. My code will probably by JavaScript but other languages are acceptable (of course best if the tool is Open Source, so I can see the code).

Also if you know some CLI tool that will visualize S-Expression as ASCII boxes that also would be acceptable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.