An open API service indexing awesome lists of open source software.

https://github.com/chrome99/okapi-lang

Okapi: A simple programming language interpreter written in Go.
https://github.com/chrome99/okapi-lang

compiler go interpreter

Last synced: about 1 year ago
JSON representation

Okapi: A simple programming language interpreter written in Go.

Awesome Lists containing this project

README

          


Okapi Logo

Okapi Interpreter


Okapi is a simple WIP programming language interpreter written in Go.
This project follows the structure of **[Writing an Interpreter in Go](https://interpreterbook.com/)** by Thorsten Ball.

## Features
- Lexing and parsing
- Evaluating expressions

## Lexer Demo

![lexer-demo](https://github.com/user-attachments/assets/e7a42cb4-11b3-4aa3-afe9-d933e015f391)

## Getting Started
Clone the repo and run:

```sh
go run main.go
```