https://github.com/mobink980/recursive-decent-parser
A Simple Top Down Parser written in java
https://github.com/mobink980/recursive-decent-parser
Last synced: 3 months ago
JSON representation
A Simple Top Down Parser written in java
- Host: GitHub
- URL: https://github.com/mobink980/recursive-decent-parser
- Owner: Mobink980
- Created: 2019-07-10T04:44:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-10T06:06:55.000Z (almost 6 years ago)
- Last Synced: 2025-01-14T07:34:32.841Z (5 months ago)
- Language: Java
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Recursive-Decent-Parser
A Simple Top Down Parser written in java
In this project we use recursive decent parsing, to parse the strings produced by a grammar.
This is how it works:
For each variable we have a function which is usually recursive, and we also have a match function. In the match function, we take an input which is the token determined by syntax, and in the function structure, the current token which is the last token read by the scanner will be compared with the syntax token.