https://github.com/cizr/matrixparser
A Python project implementing a matrix parser using PLY (Python Lex-Yacc). Recognizes and processes matrices with a specific syntax, offering flexibility and simplicity. Ideal for learning PLY in Python or as a foundation for advanced matrix-related applications.
https://github.com/cizr/matrixparser
code-parser grammer-checker lexical-analyzer matrix-parsing ply python syntax-validation
Last synced: 8 months ago
JSON representation
A Python project implementing a matrix parser using PLY (Python Lex-Yacc). Recognizes and processes matrices with a specific syntax, offering flexibility and simplicity. Ideal for learning PLY in Python or as a foundation for advanced matrix-related applications.
- Host: GitHub
- URL: https://github.com/cizr/matrixparser
- Owner: Cizr
- Created: 2023-11-15T20:04:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T20:25:36.000Z (almost 2 years ago)
- Last Synced: 2025-01-27T06:43:28.053Z (10 months ago)
- Topics: code-parser, grammer-checker, lexical-analyzer, matrix-parsing, ply, python, syntax-validation
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Matrix Parser with PLY
This Python project implements a matrix parser using PLY (Python Lex-Yacc). The parser is designed to recognize and process matrices written in a specific syntax. It provides a simple way to define and parse matrices with the flexibility of PLY.
## Usage
The parser allows users to input matrix expressions and validates their syntax. It can be used as a foundation for more advanced matrix-related applications or as a learning tool for working with PLY in Python.
## How it Works
The parser follows a set of defined grammar rules to recognize matrix structures. It leverages the PLY library for lexing and parsing, providing a robust and extensible framework for syntax analysis.
## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/Cizr/MatrixParser.git
Benkaddour Med Racim - ILC