kizer
Joined 12 years ago
Karma
262
Submissions
416
Member since
Jun 30
SWE JavaScript/TypeScript, C, Java, Creating Programming Languages.
View on Hacker NewsJoined 12 years ago
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.