eth-sri / lmql

A language for constraint-guided and efficient LLM programming.
https://lmql.ai
Apache License 2.0
3.58k stars 194 forks source link

Syntax Highlighter 0.0.3 (improvements) #245

Open TomExMachina opened 10 months ago

TomExMachina commented 10 months ago

Version 0.0.1 is what's currently in the vscode marketplace and here in the main branch. Here's what it looks like:

Selection_143

I wanted features 0.0.1 didn't have, and started working toward them (0.0.2, which I'm about to submit a PR for):

Selection_144

It's better but still not great. Let's take a look at how it could be better - v0.3 (Big Sexy)

Selection_141

TomExMachina commented 10 months ago

Also, maybe we could define what a version 0.1.0 or even 1.0.0 is supposed to look like (And maybe that's Big Sexy)

viktor-ferenczi commented 10 months ago

Do we have syntax highlighting for JetBrains PyCharm?

TomExMachina commented 10 months ago

Do we have syntax highlighting for JetBrains PyCharm?

I don't think so. Aren't those made in Java? It's never seemed like a fun endeavor, so I've never touched Java. PyCharm is great though.

lbeurerkellner commented 10 months ago

Awesome work, this 0.0.2 just got merged via #246 and published on the Marketplace. Thanks again.

Keeping this open for ideas around future improvements.