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

Add support for AML language #71

Open
loicknuchel opened this issue Nov 25, 2024 · 3 comments
Open

Add support for AML language #71

loicknuchel opened this issue Nov 25, 2024 · 3 comments

Comments

@loicknuchel
Copy link

Hi 👋

I'm the creator of Azimutt, a database exploration tool using AML for the design part (similar to dbdiagram/DBML) and finally took time to create a VS Code extension for AML.
That's when I found your extension that is 1. very nice (much more than the others I tried) and 2. already handles DBML and Prisma, being modular in term of source language.
I was in the process to add a visualization panel to my extension but now I'm thinking I could focus on the editing experience (suggestions, go-to-definition...) and rely on yours for the visualization, both extension could reference each other.

If you want to have a look, AML is published as a npm package and you can already try it in online editors or in Azimutt.

What do you think?

@BOCOVO
Copy link
Owner

BOCOVO commented Nov 27, 2024

Hi @loicknuchel !

It's a pleasure to read you.
I know Azimutt and its beautiful UI inspire the UI of this extension(s) ( the diagram ). Thank you a lot.

I get it. Indeed, this project is built in a way to easily support another DSL.
Of course, we can do it. The idea behind this project is to provide a visualizer for as many DSLs as possible.

I toke a look at AML and there is possible to covert it to JSON. And that is the necessary to power a visualization extension using this project.

Let's do it 🚀 .

@loicknuchel
Copy link
Author

Hi @BOCOVO

Awesome! Glad you already know Azimutt and loved its UI 😄

Very happy you are ready for this. How do you plan the next steps? Do you need anything from me?

PS: if you want to support as many DSLs as possible, you can even add PostgreSQL with Azimutt SQL parser ;)

@BOCOVO
Copy link
Owner

BOCOVO commented Dec 1, 2024

Hi @loicknuchel !
Hope you are doing great.

Sorry for the delay in my response.

Here are the next steps

  1. Understanding the AML parser result in order to know how to convert it to the common parsing structure of this project
  2. Write the necessary code to convert the AML parser result to the common parsing structure of this project.
  3. Create and publish the extension

I began the first, looking at the docs.
I'll certainly need your help on the second task. I'm going to let you know.
I plan to make a few fixes to the projet this month and the new plugin ( AML's ) will be release in this month too.

You are doing a great job 🔥 .
After the AML plugin creation with the SQL parser we can easily ship a PostgreSQL preview extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants