Examples written in trygve

Trygve is a language and a compiler built for DCI from the ground up, by James Coplien. The best introduction is in its user manual. Listed here are source code examples written in the trygve compiler (github).

access1.k
arraydup.k
arrayindexincrement.k
assignchain.k
basectortest.k
bug1.k
ctor1.k
exprtest.k
fact.k
firstarg.k
for1.k
forloop1.k
forloop2.k
forloop3.k
inheritance.k
inheritance2.k
inheritance3.k
inheritance4.k
inheritance5.k
inhertest.k
interface1.k
interface2.k
interface3.k
quadratic1.k
rightAssociativeSum1.k
rightAssociativeSum2.k
roleclass1.k
roleclass2.k
roleplaytest.k
roleplaytest2.k
roleplaytest3.k
roletest.k
roletest2.k
roletest3.k
roletest4.k
roletest5.k
rolevec1.k
simplearray.k
simpleincrement.k
simplemain.k
simpleprintchain.k
simplestring1.k
simpletemplate.k
sqrt.k
starttest.k
switchtest.k
thisqualbug1.k
trivialprint.k
trygve1.k
trygve2.k
trygve3.k
unaryop1.k
whiletest.k