Skip to content

So, I've written an AST spec: what to do next? #36

Answered by wooorm
vicentereig asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the kind words @vicentereig <3
If some of the things y’all made are OSS, I’d love to take a peek at them.

Is it a manual process to translate it into the type/nodes you use to parse/compile the the source code? I wouldn't be surprised if you unified folks had some tooling to turn those specs into workable items, so I can write my parser and build the AST representation.

It is in fact a manual process! All that stuff is manual.
I’m not really a fan of TS, although I do see some value in JSDoc-based TS, especially because that makes it possible to generate docs from code. I haven’t built something like that yet though (and it seems daunting to figure out a one-size-fits-all for…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by vicentereig
Comment options

You must be logged in to vote
2 replies
@ChristianMurphy
Comment options

@vicentereig
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants