← Back to context

Comment by Evidlo

11 hours ago

what would you have chosen for your DSL? Ideally something not from scratch

i'm not sure if that caveat is sensible :)

theres actually a very important reason you want it to be an actual embedded dsl or tiny programming language!

The reason why llms can code at all is the hugeeeee amount of RL based on the loop of 1 "write code", 2 get compile time or runtime errors,3 fix it and iterate. Data file formats dont have that feedback loop so models will fall off the rails faster. Writing code that fits a latent adhoc schema just wont work as well, or will require burning a lot more context.

from that perspective, it could just be an EDSL little library in the host language, or it could be a friggin little custom language with an interpreter and good error messages.

  • Oh to be clear

    > dct validate <file.yml>

    Or any of the other commands that read the file will quickly fail with any syntax or SQL issues. It’s not just an open schema.

    • thats important! but how do the error messages compare with a decent compiler? youre gonna have more errors in your llm corrective edits loop if you dont hew to that tier of clarifying.

      to be clear: youre taking this feedback wonderfully well and i appreciate that maturity :).

      im just cranky with the current opportunity market and mucking with attacking a classical markov chain conjecture while i hurry up & wait to hear back from places XOR slowly build some stuff in the harness space that i hope can hit the equivalent of sublime text tier but for harnesses (is there even a market for a prosumer/pro tier harness, im not sure!)