Skip to content

About

An interpreter written in Zig programming language

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

57 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Commitizen friendly

An interpreter in Zig

An interpreter, created as a learning playground for both Zig and interpreter.

The interpreter does the process of tokenization, parses source-code in a REPL, transforms the input into a AST, and evaluates the tree.

Build executable

To build an executable, run the following cmd:

zig build-exe src/main.zig -O ReleaseSafe --name bin

It'll generate bin, which you'd want to execute by:

./bin

References

Lexical analysis

Abstract Syntax tree

Parsing

Top-down parsing

Zig documentation

Logo

Repository icon made by Freepik from www.flaticon.com

About

An interpreter written in Zig programming language

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages