Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/greezybacon/clox

Interpreter for the Lox language in C
https://github.com/greezybacon/clox

Last synced: about 2 months ago
JSON representation

Interpreter for the Lox language in C

Awesome Lists containing this project

README

        

An interpreter for the Lox language in C

# Introduction
This project is an exploration for me to learn more about how interpreters,
compilers, and virtual machines work. It may or may not conform to the exact
specifications of the Lox language as I commonly read details from the source code
of other programming language compilers such as Python, and, based on inspiration,
may bend my Lox interpreter to do things in addition or in a different way from the
original description of the language. It's also a personal goal to solve the Advent
of Code challenges for a year (https://adventofcode.com) with my own interpreter.

# Getting Started
Clone the project and update the submodules

git clone https://github.com/greezybacon/clox
cd clox
git submodule init && git submodule update

Then build it and run it

cd src
make
./lox