this post was submitted on 16 Jul 2023
260 points (93.3% liked)

Programming

17319 readers
128 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] fubo@lemmy.world 17 points 1 year ago (6 children)

Sure, but can it go the other way — turn a regexp string into a parse tree and then into Melody syntax?

Or, at least, the equivalent of CL-PPCRE's parse-string?

[–] yoavlavi@programming.dev 20 points 1 year ago (5 children)

That's not supported yet but is planned (see the "reverse compiler" feature in the README)

[–] Die4Ever@programming.dev 17 points 1 year ago (4 children)

sounds like it would make an amazing VSCode extension

[–] yoavlavi@programming.dev 8 points 1 year ago

Awesome idea, will definitely take it into consideration when that feature is available. Melody actually has a VSCode extension with highlighting and snippets, could be added to that

load more comments (3 replies)
load more comments (3 replies)
load more comments (3 replies)