Commit graph

28 commits

Author SHA1 Message Date
Ruud van Asseldonk
a81e470281 Move development guid to docs/development.md
I want to make the readme more aimed at people interested in the tool
and project in general, not necessarily at developers hacking on RCL
itself. Let's move that to a separate manual section, since there is
already a development section in there.
2025-11-23 18:14:18 +01:00
Ruud van Asseldonk
96b37431f1 Document building from source and cross-compiling
Okay building from source was already documented, but if we have
portable binaries in the Nix flake, I think that's worth documenting.
2025-09-04 23:35:00 +02:00
Ruud van Asseldonk
0912433afa Add release playbook
There are more and more steps every time, without some checklist, one
day I'm going to forget or mess up one of these steps.

It could be a bit more automated, but I don't want to add a critical
dependency on e.g. GitHub Actions, and having some written playbook is
better than having to keep it all in my head.
2025-08-30 21:28:19 +02:00
Ruud van Asseldonk
19763a953d Add 'rcl patch' chapter to the docs 2025-08-25 22:56:49 +02:00
Ruud van Asseldonk
8cc1f263d8 Begin writing docs for the new Number type
I decided, after going through a few iterations of a blog post that
explains the trade-offs, to have only a single Number type, and to
remove Int. This is an invasive change, let's start with the docs
because those are somewhat easier.
2025-02-24 20:42:59 +01:00
Ruud van Asseldonk
c1dee506de Begin writing up design choices for numbers
I realized yesterday, the interaction between Int and Float creates a
rabbit hole of subtleties. I wrote down some thoughts on GitHub, but
important decisions like these are best kept under source control.
2025-02-24 20:42:59 +01:00
Ruud van Asseldonk
82cf536c6f Add documentation about the grammars and testing 2024-08-02 23:12:18 +02:00
Ruud van Asseldonk
2d5cd372dc Begin collecting meanings of the name "RCL"
I just encountered "Reduce Cognitive Load" in a comment on Hacker News
and it fits the acronym very well, I'm going to keep a list of possible
meanings of the name "RCL".
2024-07-31 22:09:23 +02:00
Ruud van Asseldonk
31f7c07176 Write docs chapter about "rcl build" usage
This is somewhat of an alternative to the Ninja chapter, I still need to
update that one.
2024-07-27 23:03:05 +02:00
Ruud van Asseldonk
85cba66c7d Add docs for new 'rcl build' subcommand
Readme-driven development here, the command doesn't exist yet!
2024-07-27 23:03:05 +02:00
Ruud van Asseldonk
ee3cf12269 Document how to compile tree-sitter grammar
I was struggling with this before, but now I found the problem:
tree-sitter calls CC, and I had CC=clang, but somehow then I get an
executable that links against some files in the Nix store, but also
against a libstdc++.so.6 which is nowhere to be found. When I set CC
to a GCC that Nix provides, everything works fine.
2024-03-13 23:25:51 +01:00
Ruud van Asseldonk
50c9d7b3e3 Add a changelog
I want to start versioning things.
2024-02-26 22:57:53 +01:00
Ruud van Asseldonk
4590b956d2 Write about using Ninja to build generated files 2024-02-20 20:52:14 +01:00
Ruud van Asseldonk
fdf6e24760 Document the Python bindings 2024-02-01 21:50:32 +01:00
Ruud van Asseldonk
5fd4922b19 Document the new type system
This is also running ahead to the static type checks that I already
implemented on top of this branch, so the documentation does not reflect
so much the work preceding this commit, as the plans for how the type
system will work.
2024-01-30 22:14:19 +01:00
Ruud van Asseldonk
b363460d92 Begin writing a tutorial
I realized I'm often complaining about tools for not having good
documentation. I tried to get started with D for the Advent of Code
for example, and although it has a reference, I couldn't find good
introductory material. RCL doesn't even have an introduction, so let's
fix that.
2023-12-04 22:42:40 +01:00
Ruud van Asseldonk
ec96df570a Document functions in the manual 2023-11-30 19:45:26 +01:00
Ruud van Asseldonk
483accbb3c Document the standard library and methods 2023-11-04 20:18:06 +01:00
Ruud van Asseldonk
9df9d60b0e Write docs about how imports work
This also includes docs for the CLI for sandboxing modes, which at
this point are completely hypothetical, as well as relative and
workdir-relative import paths, which are also not implemented. One
might call it "readme-driven development".
2023-10-17 22:33:35 +02:00
Ruud van Asseldonk
131195ac8c Update docs to to match new CLI 2023-10-13 11:57:29 +02:00
Ruud van Asseldonk
54be7979c0 Write docs about how RCL is tested 2023-09-24 22:52:35 +02:00
Ruud van Asseldonk
7c1329b030 Make Pygments lexer work with MkDocs
And we have syntax highlighting in the docs! So nice that this is even
possible with Nix (even though it took some fiddling to get it to work),
it would be basically impossible without.
2023-09-24 21:53:19 +02:00
Ruud van Asseldonk
3abdd1a2cc Add installation guide to the docs 2023-09-23 18:29:29 +02:00
Ruud van Asseldonk
f718f40cc0 Document all the CLI commands in the manual 2023-09-23 10:19:33 +02:00
Ruud van Asseldonk
1109d44754 Document the new syntax highlighting support 2023-09-23 00:41:33 +02:00
Ruud van Asseldonk
3a0ff14f30 Document justification for null 2023-09-08 20:03:36 +02:00
Ruud van Asseldonk
d81b812abb Document how strings work 2023-08-28 01:41:00 +02:00
Ruud van Asseldonk
18c1e8133a Add basic initial documentation 2023-08-13 21:31:17 +02:00