Skip to content

MaisiKoleni/gedit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GEdit Grammar Editor

The Grammar Editor is a full featured Eclipse editor. It can be used to edit grammar files that act as input for the Jikes Parser Generator or the LALR Parser Generator. The most recent version of the Jikespg parser can be found here: https://github.com/jikespg/jikespg/tree/fixes-combined

Important

This is a continuation of the Jikespg Grammar Editor project https://sourceforge.net/projects/jgedit/ by Uwe Voigt from 2005.

The incentive is to get it working in modern Eclipse versions, as the old version crashes due to API changes.

screenshot of the editor’s user interface in eclipse

Installing

  • Get the code locally

  • mvn verify

  • then install content in your IDE with Help > Install new software…​, pointing to the repository/target/repository folder

Features

It supports:

  • Content assistance when editing grammar elements, macros or options

  • Editor outline

  • Quick outline

  • Rename in file

  • Find occurrences in file on element basis

  • Element, macro and included file source navigation and lookup using hovers

  • Element folding

  • Syntax and semantic highlighting

  • Syntax and semantic check while typing

Warning

Some of the above features are currently broken.

License

Eclipse Public License 2.0, see license.txt.

The original project’s license was the Common Public License Version 1.0, which was superseded by the Eclipse Public Licenses.

  • Original work Copyright (c) 2005 Uwe Voigt, All Rights Reserved

  • Modified work Copyright (c) 2022 Christian Femers