Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/greezybacon/clox
Interpreter for the Lox language in C
https://github.com/greezybacon/clox
Last synced: 3 months ago
JSON representation
Interpreter for the Lox language in C
- Host: GitHub
- URL: https://github.com/greezybacon/clox
- Owner: greezybacon
- License: mit
- Created: 2017-10-27T18:39:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-27T18:36:09.000Z (almost 1 year ago)
- Last Synced: 2024-08-03T18:16:36.317Z (6 months ago)
- Language: C
- Size: 481 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - clox
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 submodulesgit clone https://github.com/greezybacon/clox
cd clox
git submodule init && git submodule updateThen build it and run it
cd src
make
./lox