Skip to content

KvanTTT/DAGE

Repository files navigation

Desktop Antlr Grammar Editor (DAGE)

Features

  • Error checking on all stages of grammar development.
  • Official and unofficial runtimes support.
  • Case insensitive input stream support (for Pascal, SQL, Visual Basic languages and etc.).
  • Mapping between generated code errors and grammar code actions.
  • Crossplaform working (based on Avalonia multi-platform .NET UI framework and on AvaloniaEdit).

Grammar processing stages

  1. Grammar syntax checks, parser name and rules collecting.
  2. Grammar semantics checks and parser generation for certain runtime.
  3. Generated code semantics checks and parser compilation (Interpretation).
  4. Text parsing and text syntax errors collecting.

Error types

  1. ANTLR grammar syntax errors.
  2. ANTLR tool grammar semantics errors.
  3. Generated code semantics errors.
  4. Parsing text syntax errors.

Supported runtimes

  • C# Optimized (antlr4cs)
  • C# Standard
  • Java
  • Python2
  • Python3
  • JavaScript (nodejs)
  • Go

Tests

AppVeyor build status (Windows and Linux)