Skip to content

B1boid/Parser-Generator

Repository files navigation

Automatic translator generator

Here is an implementation of a simplified analogue of the translator generator. It will automatically generate: Lexer and Parser for given grammar from the input file (*.gram)

Grammar class

  • LL(1) grammars, top-down parsing

Attributes

  • synthesized attributes
  • inherited attributes

Testing the resulting generator

  • Generated with resulting generator - calculator
  • Generated with resulting generator - С++ variable declaration
  • Unit tests

The grammars given at the input must match grammar Examples: calc.gram and cdecl.gram

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published