Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quoter tool #309

Open
LPeter1997 opened this issue Aug 19, 2023 · 2 comments · May be fixed by #470
Open

Quoter tool #309

LPeter1997 opened this issue Aug 19, 2023 · 2 comments · May be fixed by #470
Labels
tooling Tooling related issues.

Comments

@LPeter1997
Copy link
Member

It's quite painful having to type out parse-tree expressions for a test-case (and eventually probably other things too). We should ship a tool that can dump Draco code as a syntax tree expression, similarly to Roslyn-quoter. For now it's enough if it only supports C# as the target language. I suggest using Scriban templates, so eventually when we do want Draco code to be emitted, we can do that.

The tool can be built into the compiler as a command or as a separate CLI tool. It would be nice to be able to ship this with the playground as well.

@LPeter1997 LPeter1997 added the tooling Tooling related issues. label Aug 19, 2023
@Kuinox
Copy link
Member

Kuinox commented Jan 21, 2024

I think we can ship this tool in the vscode extension.

@LPeter1997
Copy link
Member Author

@Kuinox It would probably lie in the language server itself as a custom command or something, but the functionality itself should come from the core compiler itself, as it's the thing knowing the syntax tree API

@thinker227 thinker227 linked a pull request Sep 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Tooling related issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants