From b7d9e8e55db25c26db8230017b12fcc5baec7467 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sun, 5 Oct 2025 22:05:45 -0700 Subject: [PATCH] claude --- CLAUDE.md | 8 ++++++++ ...xed-variadic-kwargs.reef => mixed-variadic-named.reef} | 4 ++-- examples/{kwargs.reef => named.reef} | 0 3 files changed, 10 insertions(+), 2 deletions(-) rename examples/{mixed-variadic-kwargs.reef => mixed-variadic-named.reef} (100%) rename examples/{kwargs.reef => named.reef} (100%) diff --git a/CLAUDE.md b/CLAUDE.md index b8100b7..e658270 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,6 +4,14 @@ globs: "*.ts, *.tsx, *.html, *.css, *.js, *.jsx, package.json" alwaysApply: false --- +## Overview + +This is a stack based VM for a simple dyanmic language called Shrimp. + +Please read README.md, SPEC.md, src/vm.ts, and the examples/ to understand the VM. + +## Bun + Default to using Bun instead of Node.js. - Use `bun ` instead of `node ` or `ts-node ` diff --git a/examples/mixed-variadic-kwargs.reef b/examples/mixed-variadic-named.reef similarity index 100% rename from examples/mixed-variadic-kwargs.reef rename to examples/mixed-variadic-named.reef index 754ba7a..96463da 100644 --- a/examples/mixed-variadic-kwargs.reef +++ b/examples/mixed-variadic-named.reef @@ -1,11 +1,11 @@ ; Mixed variadic and named arguments ; Function takes one fixed param, variadic positional, and kwargs MAKE_FUNCTION (x ...rest @kwargs) #10 -PUSH 'name' -PUSH 'Bob' PUSH 1 PUSH 2 PUSH 3 +PUSH 'name' +PUSH 'Bob' PUSH 3 PUSH 1 CALL diff --git a/examples/kwargs.reef b/examples/named.reef similarity index 100% rename from examples/kwargs.reef rename to examples/named.reef