RubyGems Navigation menu

y_nelson 2.3.4

Zz structures are an interesting way of representing relations invented by Ted Nelson. I captured the basic zz structure formalism in a gem Yzz. In this gem, YNelson, I combine zz structures with universal Petri nets (provided by another gem of mine, YPetri) to obtain a hybrid data structure that formalizes and generelizes a spreadsheet. Because let us note that most of the practical spreadsheet implementations allow the cell functions to be used so as to represent a Petri net. The cell functions can thus be regarded as transitions and cells and places of a Petri net. A spreadsheet is thus a kind of a Petri net. At the same time, spreadsheet files are orthogonal structures with at least 3 dimensions: x (horizontal), y (vertical) and z (the dimension of sheets stacked upon each other). With zz structures, the globally orthogonal nature traditional spreadsheet is generalized as a locally orthogonal zz structure, with relations represented as zz dimensions. In sum, this generalizes and formalizes a spreadsheet. While being textual at the core, YNelson attempts to provide convenience at least at the level similar to the actual existing spreadsheet software. Unlike YPetri, YNelson can also specify more than one node per command, but this is still under development. See the user guide and the documentation for the details. YNelson documentation is available online, but due to formatting issues, you may prefer to generate the documentation on your own by running rdoc in the gem directory. For an example of how YPetri can be used to model complex dynamical systems, see the eukaryotic cell cycle model which I released as "cell_cycle" gem.


  1. 2.3.4 - December 3, 2014 (364 KB)
  2. 2.3.3 - December 3, 2014 (360 KB)
  3. 2.3.2 - December 2, 2014 (360 KB)
  4. 2.3.0 - April 23, 2014 (306 KB)
  5. 2.1.0 - October 21, 2013 (306 KB)
Show all versions (14 total)

Runtime Dependencies:

Development Dependencies:


  • boris



Sha 256 checksum:


Total downloads 8,914

For this version 543

Show all versions (14 total)

= Copy to clipboard Copied!

= Copy to clipboard Copied!



Required Ruby Version: >= 2.0