A mini scripting engine built in Java that implements a custom programming language called SPEEK. Built from scratch to understand how interpreters and compilers work under the hood.
- π€ Lexer β Tokenizes raw source code into meaningful tokens
- π³ Parser β Builds an Abstract Syntax Tree (AST) from tokens
- βοΈ Evaluator β Walks the AST and executes the program
- π¬ Custom Language β SPEEK has its own syntax and grammar rules
Understanding how programming languages work internally is a core CS skill. This project helped me deeply understand:
- How source code is broken into tokens
- How syntax rules are enforced via parsing
- How code actually gets executed at runtime
| Layer | Technology |
|---|---|
| Language | Java |
| Concepts | Lexing, Parsing, AST, Interpretation |
| Type | Language Interpreter |
1. Clone the repository
git clone https://github.com/Rakshita-0206/mini-scripting-engine.git
cd mini-scripting-engine2. Compile
javac Main.java3. Run
java Mainlet x = 10
let y = 20
print x + y
Rakshita K Biradar B.Tech Computer Science, Sitare University, Lucknow π§ su-24110@sitare.org | GitHub | [LinkedIn](www.linkedin.com/in/rakshita-k-biradar-a218ab324
)
This project is open source and available under the MIT License.