I designed Sharpee and generated the code with Claude Code. About six months in I had Claude generate a manual for the language. Then I had this crazy idea of testing the manual with a completely dummy instance of Claude in a VM.
Nothing solidified Sharpee more than “compiling” this manual chapter by chapter.
But even that left gaps. I then designed a true DSL called Chord that compiles to Sharpee and this really ramped up the solidity of Sharpee.
Or you could write like it's for human consumption who don't have your session context in memory so they know what you're talking about or why they should care.
And every time I drop links to my repos I get accused of pandering.
My point was made. Use GenAI to write a manual for your DSL and then use GenAI to “compile” every chapter from a dumb context-less state. You can validate your language in a week or two.
Nothing solidified Sharpee more than “compiling” this manual chapter by chapter.
But even that left gaps. I then designed a true DSL called Chord that compiles to Sharpee and this really ramped up the solidity of Sharpee.