← Back to context

Comment by steveklabnik

5 days ago

Like three or four. very simple language: main function whos value is the error code, functions of one argument returning one value, only ints, basic control flow and math.

I just opened the repo, here's the commit that did what I'm talking about: https://github.com/steveklabnik/rue/commit/5742e7921f241368e...

Well, the second part anyway, with the grammar. It writing the lexer starts as https://github.com/steveklabnik/rue/commit/a9bce389ea358365f..., it was basically this program.

If I wrote down the prompts, I'd share them, but I didn't.

Please ignore the large amount of llm bullshit in here, since it was private while I did this, I wasn't really worried about how annoying and slightly wrong the README etc was. HEAD is better in that regard.