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

https://github.com/phmatray/wisplang

A tree-walk interpreter for the Wisp scripting language implemented in C#
https://github.com/phmatray/wisplang

csharp dotnet language parser

Last synced: about 7 hours ago
JSON representation

A tree-walk interpreter for the Wisp scripting language implemented in C#

Awesome Lists containing this project

README

          

# WispLang

> A tree-walk interpreter for the Wisp programming language, implemented in C#.

## Description
WispLang is a C# implementation of a tree-walk interpreter inspired by the Lox language from the book "Crafting Interpreters". It includes a scanner, AST generator, AST printer, and full interpreter — covering lexing, parsing, and evaluation of a custom scripting language.

## Features
- Full scanner/lexer for tokenizing Wisp source code
- Recursive-descent parser with AST generation
- Tree-walk interpreter with variable binding and function calls
- AST printer for debugging parse trees

## Getting Started
```bash
git clone https://github.com/phmatray/WispLang.git
cd WispLang
dotnet run --project WispScanner
```

## License
MIT