summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-16 23:01:59 +0200
committerPaul Buetow <paul@buetow.org>2026-03-16 23:01:59 +0200
commited32c7fea5ad0fefccab9c99a51ebdae13b3a2f2 (patch)
tree583f793af4287444346ff63d4a448625cc2346c9 /AGENTS.md
parent57a7b5961037eb565d9cddc324bd0246daff440b (diff)
bump version to v0.2.0v0.2.0
- Add REPL mode with vi keybindings - Add built-in commands (help, clear, quit/exit) - Add mage repl target Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..c6be708
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,5 @@
+* Prefer value semantics over pointer semantics if feasible
+* Have either pointer or value receivers, not both, for methods on a type
+* Have constants, global variables, and type definitions always at the top of the file, before functions and methods
+* Have public functions and method before private ones in the file.
+* constructors must be always the first functions in a file (before all the methods), immediately after type definitions. even if they're non-public.