From 0c1c40d5d38ee7c62542a962dfe488bd4b0a2836 Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Mon, 18 Dec 2023 13:35:37 +0100 Subject: [PATCH] Update README.md --- README.md | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/README.md b/README.md index dd66e7e..8a9d109 100644 --- a/README.md +++ b/README.md @@ -1 +1,69 @@ # koaky + +A Blazzing Light Lisp Interpreter + +## Features + +- Condition +- [x] `if` +- [x] `eq?` +- [x] `diff?` +- [x] `<` +- [x] `>` +- [x] `>=` +- [x] `<=` +- Operator +- [x] `+` +- [x] `-` +- [x] `*` +- [x] `div` +- [x] `mod` +- Type +- [x] `Integer` +- [x] `Boolean` +- [x] `Symbol` +- Function +- [x] `lambda` +- [x] `define` +- Error Handling +- [x] Error handling at execution time +- [x] Nice error message at execution time +- [x] Error handling at parsing time +- [ ] Nice error message at parsing time + +## Install + +2 methods to use this interpreter: +- from available binary +- build from source + +### From Available Binary + +- Download the binary for your platform in the latest release. + +### Build From Source + +- Clone this repository: +- Install stack: +- `cd`'d in the repository you just cloned +- Run: `stack build --copy-bins --local-bin-path .` +- The binary will be available with the name `koaky-exe.exe`:windows `koaky-exe`:linux `koaky-exe`:macos + +## Usage + +``` +Usage: koaky-exe [OPTION] + +Interpret Lisp +With no options, koaky reads from standard input. + +Options: + -h, --help + Display this help and exit + -v, --version + Output version information and exit + -f FILE, --file FILE + Read FILE and Interpret it + - + Read from standard input and Interpret it +```