Skip to content

Basic AST for templating engines #59

Answered by wooorm
binyamin asked this question in Ideas
Discussion options

You must be logged in to vote

Hey!

I think where it makes sense depends some more on what you’re thinking of. Are you thinking of a particular language? Multiple? What are the “units” in the tree? Interpolation, calls, strings, what else? What does an AST for this solve? How do you mean it would only be parsed once and written once (I think I get it, but just to be sure)?

I don’t think we need to prematurely figure out how it all should be organized. Projects working with unified/unist can exist fine on their own outside of “our” maintenance (a small example is: https://github.com/wooorm/dioscuri)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@binyamin
Comment options

@wooorm
Comment options

@ChristianMurphy
Comment options

Answer selected by ChristianMurphy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
4 participants