syntax-tree / nlcst

Natural Language Concrete Syntax Tree format
https://unifiedjs.com
205 stars 9 forks source link

Rename node types #6

Closed wooorm closed 2 years ago

wooorm commented 4 years ago

Subject of the feature

Rest of unified uses lowercase, suffixless values. RootNode -> root. Would make sense to align them.

Actual behaviour

ParagraphNode

Expected behaviour

paragraph

Alternatives

Keep it as it is, it’s been a while, changing it would lead to a bit of confusion for a while too.

wooorm commented 2 years ago

Closing for now. It isn’t perfect. At some point it can be improved. For now, it might just wrak havoc...