Skip to content

This repo includes the lexical and syntactic implementation for C-- Project at Translator Design laboratory.(Java/Python/C++)

Notifications You must be signed in to change notification settings

AndreeaDraghici/CMinusMinus-LexicalAnalysis

Repository files navigation

CMinusMinus-LexicalAnalysis

This repo includes the lexical and syntactic implementation for C-Minus-Minus Project at Translator Design laboratory.

How to run

Running using JRE 8 and py 3.10 and ISO C++14 Standard

History

The repository contains:

  • C-- requirements and specifications document.

1. Lexical analyzer using hand coded implementation (Java implementation):


What needs to be loaded:

  • A document with lexical specifications, including finite automata.

  • The source code (without executables) of the lexical analyzer.

  • Test files.


2. Lexical analyzer using scanner generators (Python implementation):


What needs to be loaded:

  • An archive with the source files (.py files).

  • An archive with test files.

  • A PDF document describing the source file(s).


3. Syntax-directed translator using descendent recursive parsing (C++ implementation):


What needs to be loaded:

  • An archive with the source files (.cpp files).

  • An archive with test files.

  • A PDF document describing the syntax-directed translator using descendent recursive parsing.


4. Syntax-directed translator (Python implementation):


What needs to be loaded:

  • An archive with the source files (.py files).

  • An archive with test files.

  • A PDF document describing the syntax-directed translator.

About

This repo includes the lexical and syntactic implementation for C-- Project at Translator Design laboratory.(Java/Python/C++)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages