Hacker News new | ask | show | jobs
by kizer 498 days ago
First AI model to pass my test on the first try (I used o3-mini-high).

Prompt: Write an interpreter for a simple but practical scripting language. Write the interpreter in JavaScript to be run on the Node.JS platform. You can import any of the standard Node.JS modules.

Churned out ~750 lines and a sample source code file to run the interpreter on. Ran on the first try completely correctly.

Definitely a step up. Perhaps it's in the training data. I don't know. But no other model has ever produced an error-free and semantically correct program on the first try, and I don't think any ever managed to implement closures.