The trygve language project - Building a DCI-centric language from the ground up
Clone or download
jcoplien Version 3.18: Fixed date as per user complaint was gratuitously adding 1900 to the return value from
Date.year. removed.
Latest commit 6910e04 Nov 17, 2018


The trygve language project - Building a DCI-centric language from the ground up

Please contact if you are considering working up to a pull request. Pull requests should first be socialized on


Clone or download the repo, then build and execute with gradlew run.

Running on Windows

Here's a quick-and-dirty guide from Andreas Söderlund for an initial bring-up on Windows:

  1. Download the Java JDK from (one of the Windows x64/x86 versions) and install it.
  2. For git, download the full package from (a nice console emulator) and install it.
  3. Start cmder, cd to an appropriate directory and execute:
git clone
cd trygve
gradlew run

If you want to update to the latest version at a later time, execute the following inside the trygve directory:

git pull
gradlew run

User manual

Available in the repository, trygve1.docx. Many docx viewers are available, here is the official one for Windows.

An online version is available at


Import as a Gradle project into your IDE. (Or as a regular project if you wish.) Then run or debug info.fulloo.trygve.editor.Main.

To rebuild ANTLR parser run gradlew antlr.

To build a distribution gradlew build.

Also remember to enable assertions (Eclipse, IntelliJ)


For details on how to configure for eclipse, see the appendix of the user manual. The instructions are for the Mac but generalizing them to Windows (and to other versions of eclipse) should be straightforward.


Send questions to