Skip to content
/ clox Public

Scripting language developed when reading craftinginterpreters

License

Notifications You must be signed in to change notification settings

jecepeda/clox

Repository files navigation

Clox

Clox is a lightweight, interpreted programming language inspired by Lox from the book "Crafting Interpreters" by Robert Nystrom. It is designed to be simple yet powerful, making it an excellent tool for learning about interpreters and language design.

Features

  • Simple Syntax: Easy to read and write, making it accessible for beginners.
  • Dynamic Typing: Types are checked at runtime, providing flexibility.
  • Garbage Collection: Automatic memory management to prevent memory leaks.
  • Standard Library: Includes a set of built-in functions for common tasks.

Getting Started

Prerequisites

  • Ensure you have Git installed.
  • A C++ compiler (e.g., GCC, Clang).

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/clox.git
    cd clox
  2. Build the interpreter:

    make

Usage

Run Clox:

./bin/clox

About

Scripting language developed when reading craftinginterpreters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages