@tuple – experimenting with lisp-like syntax as XML replacement

Motivation The following post describes an experimental format which has a lisp-like syntax, with hints of JSON, for storing tree-structured data as text. The main motivation was a need to have a less verbose alternative to XML, but still be readable and editable, support pattern matching and transformation, include common binary datatypes, and enable structural…

Reminders on Scala syntax

Reminders The companion object (both for own code and Scala’s API) // The class definition with primary constructor class Node protected (val a: String, private var b: String) { // imports definitions in companion object import Node._   // attributes and primary constructor code var busy = false   // methods override def toString() =…