Skip to content

An attempt to produce a compiler and interpreter for the LPhy language using Xtext

Notifications You must be signed in to change notification settings

LinguaPhylo/linguaPhyloDSL

Repository files navigation

linguaPhyloDSL

The core to produce a compiler and interpreter for the LPhy language using Xtext

Java 11

From the version 2.24, Xtext and Xtend will depend on Java 11.

https://www.eclipse.org/xtend/releasenotes.html#/releasenotes/2020/09/01/version-2-23-0

Sub-projects

  1. lphyDSL The core base of LPhy.

  2. lphyDSL.ide

  3. lphyDSL.ui

Import projects

File => Import ... => General => Exsiting Projects into Workspace

Generate LPhy artifacts

Right-click on the grammar file LPhy.xtext from either Project Explorer or Package Explorer, then Run As => Generate Xtext Artifacts.

Run the generated Eclipse plug-in

Right-click on the project lphyDSL in the Package Explorer and select Run As => Eclipse Application. In the new Eclipse instance including LPhy, create a new project, e.g. File => New => Project ... => Java Project, and then create a new file with the file extension (*.lphy).

The above text is modified from Xtext 15 Minutes Tutorial

Eclipse Issues

Links

About

An attempt to produce a compiler and interpreter for the LPhy language using Xtext

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published