Skip to content

Add a major mode for the mlx syntax dialect - #77

Open
akirak wants to merge 4 commits into
bbatsov:mainfrom
akirak:mlx
Open

Add a major mode for the mlx syntax dialect#77
akirak wants to merge 4 commits into
bbatsov:mainfrom
akirak:mlx

Conversation

@akirak

@akirak akirak commented Aug 1, 2026

Copy link
Copy Markdown

This major mode adds mlx which can be used in Melange projects.

The JSX part is handled by tsx parser, so the text inside parentheses in JSX is not parsed as OCaml. This is a limitation, but it is hard to resolve for now.

The entire implementation is vibe-coded. If you don't like this, feel free turn down the PR, which is fine to me.

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

Successfully merging this pull request may close these issues.

1 participant