A lexer written in Zig
Usage:
- Install Zig if you don't have it(you can use
zig version
to check, if it doesn't printx.xx.x
, you don't have it)To install it, you can either get it from the website, or download it with a package manager(MacOS:
brew install zig
, Windows:choco install zig
, Linux:you know what you're doing
) - Clone this repo with
git clone https://github.com/voidwyrm-2/zig-lexer
- Cd into the
zig-lexer
folder - Run either
zig run main.zig
orzig build-exe main.zig
and./main
(.\main.exe
on Windows)