Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages