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#
- Host: GitHub
- URL: https://github.com/phmatray/wisplang
- Owner: phmatray
- Created: 2024-12-06T16:23:07.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2026-03-16T17:21:51.000Z (4 months ago)
- Last Synced: 2026-03-17T04:38:39.606Z (4 months ago)
- Topics: csharp, dotnet, language, parser
- Language: C#
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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