guile-rsv

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit d01a7b218914e71d12d0bd5ddcb4fa17cdbf8203
parent be30bc942bdeb6c04bb81abeddd9b03524b40b8c
Author: Yuval Langer <yuval.langer@gmail.com>
Date:   Wed, 10 Jan 2024 00:06:43 +0200

Add command documentation.

Diffstat:
MREADME.md | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -3,6 +3,28 @@ You can read more about it on the [RSV Specification][1] and watch the demonstration on [Youtube][2]. +## Commands: + +Currently, + +- rsv2csm takes RSV in stdin and outputs sexps into stdout. +- scm2rsv takes sexps in stdin and outputs RSV into stdout. + +You run scm2rsv like so: + +``` +$ printf '(("moo" #f) (#f "poo"))' | ./scm2rsv | hexdump -C +00000000 6d 6f 6f ff fe ff fd fe ff 70 6f 6f ff fd |moo......poo..| +0000000e +``` + +And you run rsv2csm like so: + +``` +$ printf '(("moo" #f) (#f "poo"))' | ./scm2rsv | ./rsv2scm +(("moo" #f) (#f "poo")) +``` + Main repository is at [Codeberg.org][3]. ## Mirrors: