Skip to content

kirangirish/arithmetic_peg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Arithmetic Parser

Welcome to the Arithmetic Parser! This Python project leverages Parsimonious to create a Parsing Expression Grammar (PEG) that efficiently parses and evaluates arithmetic expressions.

Features

  • Simple and Intuitive Grammar: Supports addition (+), subtraction (-), multiplication (*), and division (/).
  • Educational Value: Great for learning about PEG and how to implement parsers in Python.
  • Extensible Design: Easily extend the grammar to support more operations (e.g., parentheses for grouping).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages