From 5bb57116c05d57f3faa64719da0690bdc8c37eed Mon Sep 17 00:00:00 2001 From: Luna Date: Mon, 26 Aug 2019 14:26:58 -0300 Subject: [PATCH] update readme --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3f2d823..b8657f5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # vig -a [v] parser in zig +a [v] parser in zig, also a shitpost taken too far [v]: https://vlang.io @@ -9,20 +9,26 @@ for more epic adventures) ## why -because i want to learn parsers and what best to do it with a language i'm + - because i want to learn parsers and what best to do it with a language i'm negatively charged towards + - theres an ast now it looks pretty + - i finally understand recursive descent parsers ## variations + - theres no `for` yet + - `for` is split between `for` and `loop` because my fucking god i cant stand - having *four* different variations of `for`. + having *four* different variations of `for` to parse. - struct initialization is with `Struct.{}`, not `Struct{}`, to remove parsing - ambiguities + ambiguities (`if a {}` and `a{}`, v solves that with case, e.g structs Must + Be Properly Titled and i can't bother with that) ## how -``` + - step 1: dab + - step 2: ``` git clone https://gitdab.com/luna/vig.git cd vig zig build install --prefix ~/.local/