-
Notifications
You must be signed in to change notification settings - Fork 653
feat(playground): Add Syntax Hightlighting and folding for RomeAst #2917
feat(playground): Add Syntax Hightlighting and folding for RomeAst #2917
Conversation
rome-lang-ast.mp4 |
grammar definition see https://github.com/IWANABETHATGUY/lang-rome-ast |
Bundle SizeMain
Current
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome!
Can you explain what errors you get when you move the source of lang-rome-ast into the playground rather than having its own npm package?
The playground is using it the same way as any other module which is why I don't see much reason why it should cause issues. It may need a couple of additional steps to integrate it in our build chain though.
I have tried to move the |
I will transform the code to the playground directory once I found the solution. |
https://github.com/IWANABETHATGUY/lang-rome-ast, the repo is public feel free to review it. |
Do you get any errors if you do so?
Sounds good to me. Since you're at it. Do you think it would be possible to implement something similar for Rome's formatting IR? |
Let me open another issue to track it
Let me try |
Maybe we can move the repository under Rome's org? |
Summary
rome_ast
debug grammar forcodemirror
#2896Test Plan