Something along the lines of
/types
/markup
/math
/input
Most of the files (pair.js, sum.js, sigma.js, list.js, tree.js) should land in /types (or /datatypes, etc.). Not sure where files like history.js or parse.js should go. I guess maybe the latter makes the most sense in /input, but I'm thinking of that directory more as kinds of input elements. The file history.js probably should go in /types but even that doesn't feel quite right.
Something along the lines of
Most of the files (
pair.js,sum.js,sigma.js,list.js,tree.js) should land in/types(or/datatypes, etc.). Not sure where files likehistory.jsorparse.jsshould go. I guess maybe the latter makes the most sense in/input, but I'm thinking of that directory more as kinds of input elements. The filehistory.jsprobably should go in/typesbut even that doesn't feel quite right.