Skip to content

AutisticCoder-9000/AFLL_Ruby_Syntax_Validation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ruby Lexer and Parser using PLY Tools

A simple Ruby lexer and parser implemented using PLY (Python Lex-Yacc) tools.

Table of Contents

Overview

This project provides a basic lexer and parser for the Ruby programming language using PLY tools. PLY is a Python implementation of lex and yacc parsing tools, and it allows us to generate lexical analyzers and parsers for various programming languages.

Features

  • Lexer for tokenizing Ruby source code.
  • Parser for parsing Ruby syntax.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/ruby-lexer-parser-ply.git
  2. Navigate to the project directory:

cd ruby-lexer-parser-ply
  1. Install the required dependencies:
pip install ply

Examples

Check out the examples directory for sample Ruby code and how to use the lexer and parser.

About

Group Project for creating 5 Constructs using Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%