The trygve language project - Building a DCI-centric language from the ground up
Java ANTLR
Switch branches/tags
Nothing to show
Clone or download
jcoplien trygve 3.17: object encpasulation
Added a check for access of private members across instances. It is a
violation of encapsulation at the object level, and now elicits an
error message.
Latest commit 1e2fd35 Apr 15, 2018
Permalink
Failed to load latest commit information.
.idea
examples 3.13: Debugger cursor fix, etc. Aug 12, 2017
gradle/wrapper Root project at info.fulloo.trygve and add Gradle. Oct 9, 2015
lib Enable assertions by default in Gradle. Dec 4, 2015
src/main trygve 3.17: object encpasulation Apr 15, 2018
tests trygve 3.17: object encpasulation Apr 15, 2018
.classpath Administrative cleanup Dec 5, 2015
.gitignore Add examples and tests into distribution. Mar 4, 2016
.project Added Map library; array.size(); Dec 11, 2015
CONTRIBUTING.md 3.13: Debugger cursor fix, etc. Aug 12, 2017
LICENSE Initial source insertion of trygve IDE Sep 4, 2015
README 1.6.16: Fixed Role / Role vector anomaly Mar 25, 2016
README.md trygve 2.2: Added new MouseInfo facility Apr 18, 2016
TrygveUserManualImages.pptx Allow null in initializations Feb 8, 2017
build.gradle Add default argument for run. Mar 7, 2016
gradlew Removed non-UTF8 characters from source Dec 1, 2015
gradlew.bat
settings.gradle Root project at info.fulloo.trygve and add Gradle. Oct 9, 2015
trygve.iml Update IDE setups. Dec 4, 2015
trygve.ipr Update IDE setups. Dec 4, 2015
trygve.iws Update IDE setups. Dec 4, 2015
trygve1.docx
trygve_on_mac.md Allow null in initializations Feb 8, 2017

README.md

trygve

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

Please contact jcoplien@gmail.com if you are considering working up to a pull request. Pull requests should first be socialized on object-composition@googlegroups.com.

Running

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 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html (one of the Windows x64/x86 versions) and install it.
  2. For git, download the full package from http://cmder.net/ (a nice console emulator) and install it.
  3. Start cmder, cd to an appropriate directory and execute:
git clone https://github.com/jcoplien/trygve.git
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 http://fulloo.info/Documents/trygve/trygve1.html

Developing

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)

Eclipse

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.

Questions

Send questions to cope@gertrudandcope.com.