Skip to content

Instantly share code, notes, and snippets.

View tsdh's full-sized avatar

Tassilo Horn tsdh

View GitHub Profile
@tsdh
tsdh / genealogy-schema.tg
Created February 27, 2012 18:38
example schema
// JGraLab - The Java graph laboratory
// Version : 6.1.1
// Codename: Falkarius
TGraph 2;
Schema de.genealogy.GenealogySchema;
GraphClass Genealogy;
EnumDomain AgeGroup (ADULT, CHILD);
VertexClass Address { street: String, town: String };
VertexClass Female: Person;
;; The 10 Scala one-liners tranlated to Clojure.
;; http://mkaz.com/solog/scala/10-scala-one-liners-to-impress-your-friends.html
;; Oh, there are more of them:
;; Python: http://codeblog.dhananjaynene.com/2011/06/10-python-one-liners-to-impress-your-friends/
;; Ruby: http://programmingzen.com/2011/06/02/10-ruby-one-liners-to-impress-your-friends/
;; CoffeeScript: http://ricardo.cc/2011/06/02/10-CoffeeScript-One-Liners-to-Impress-Your-Friends.html
;; Another Clojure version: http://freegeek.in/blog/2011/06/10-clojure-one-liners/
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;