30 lines
611 B
Markdown
30 lines
611 B
Markdown
# vig
|
|
|
|
a [v] parser in zig
|
|
|
|
[v]: https://vlang.io
|
|
|
|
(will likely be done as a full compiler, who knows, leave a like and subscribe
|
|
for more epic adventures)
|
|
|
|
## why
|
|
|
|
because i want to learn parsers and what best to do it with a language i'm
|
|
negatively charged towards
|
|
|
|
## variations
|
|
|
|
- `for` is split between `for` and `loop` because my fucking god i cant stand
|
|
having *four* different variations of `for`.
|
|
|
|
- struct initialization is with `Struct.{}`, not `Struct{}`, to remove parsing
|
|
ambiguities
|
|
|
|
## how
|
|
|
|
```
|
|
git clone https://gitdab.com/luna/vig.git
|
|
cd vig
|
|
zig build install --prefix ~/.local/
|
|
```
|