1
0
Fork 0
forked from fun/fun

Holiday is over, now I have fun again. No code changes. (0.38.11)

This commit is contained in:
Johannes Findeisen 2026-02-18 18:11:21 +01:00
commit 15082bdc3e
9 changed files with 78 additions and 78 deletions

View file

@ -3,25 +3,25 @@
Thanks for your interest in contributing! This guide covers the basics to get you productive quickly.
## Getting started
- Clone the repo and build (see `docs/build.md`).
- Run tests locally (see `docs/testing.md`).
- Explore examples (see `docs/examples.md`).
- Clone the repo and build (see [build.md](./build.md)).
- Run tests locally (see [testing.md](./testing.md)).
- Explore examples (see [examples.md](./examples.md)).
## Project structure
- `src/` — C core, VM, and opcode implementations (`src/vm/*`).
- `lib/` Standard library written in Fun.
- `examples/` Example programs and showcases.
- `docs/` Documentation.
- `spec/` Language specification drafts.
- `src/` - C core, VM, and opcode implementations ([src/vm](../src/vm/)).
- `lib/` - Standard library written in Fun.
- `examples/` - Example programs and showcases.
- `docs/` - Documentation.
- `spec/` - Language specification drafts.
## Code style
- C: C99, two-space indent, no tabs. Keep functions short and focused.
- Fun: two-space indent, snake_case for functions, PascalCase for classes/constructors.
- Prefer clear names over abbreviations. See `docs/style-guide.md`.
- Prefer clear names over abbreviations. See [style-guide.md](./style-guide.md).
## Development workflow
1. Create a small, focused branch.
2. Add/adjust tests for behavior changes (see `docs/writing-tests.md`).
2. Add/adjust tests for behavior changes (see [writing-tests.md](./writing-tests.md)).
3. Update docs if user-visible behavior changes.
4. Submit a PR with a clear description and rationale.
@ -37,4 +37,4 @@ Please include:
- `fun --version` output
## Code of Conduct
Be respectful and inclusive. See `CODE_OF_CONDUCT.md` in the repository root.
Be respectful and inclusive. See [CODE_OF_CONDUCT.md](../CODE_OF_CONDUCT.md) in the repository root.