Deep-Symmetry / bytefield-svg

Node module that generates byte field diagrams in SVG format
Eclipse Public License 2.0
122 stars 18 forks source link

defattrs should call eval-attribute-spec #16

Closed brunchboy closed 4 years ago

brunchboy commented 4 years ago

In writing up an example for #15 in the user guide, I realized that when you use defattrs to build a new attribute expression, you are often going to want to start with existing attribute specs, and so will almost always want to call eval-attribute-spec. It should just do that with its argument always.

Once this is done, of course the defattrs documentation will need to be updated, but so should the vertical text example in draw-box.