SkillAgentSearch skills...

ZenScript

Sometimes you should reinvent the wheel. Zenscript is a dynamically typed interpreted language written in python.

Install / Use

/learn @theyashwanthsai/ZenScript
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ZenScript

Building my own programming language using Python - To understand more about interpreters, and compilers. It includes a lexer to tokenize the input code and provide error handling for illegal characters. Zenscript is a dynamically types interpreted language written in python.

Table of Contents

Project Structure

The project is organized into separate modules for different functionality:

  • constants.py: Defines constants used in the project.
  • errors.py: Contains error handling classes for the interpreter.
  • position.py: Manages position tracking within the input text.
  • tokens.py: Defines token types and the Token class.
  • lexer.py: Contains the Lexer class responsible for tokenizing the input code.
  • main.py: The entry point to the interpreter with the run function.

    More to be added

How to Use

  1. Clone or download the project to your local machine.

  2. Ensure you have Python installed.

  3. Run the shell.py file. python3 shell.py

Examples

Images

demo

Todo

  • [ ] If-Else statements
  • [ ] Adding functions
  • [ ] Write documentation

References:

Ruslan's Blog

Codepulse Repo

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated5mo ago
Forks0

Languages

Python

Security Score

67/100

Audited on Oct 24, 2025

No findings