Torsten Ruger
|
f00364cd18
|
shifting code about
writer creates all nodes (not delegated)
Check for class name, just as in members
as is_a will lead to wrong results
|
2015-06-18 17:52:28 +03:00 |
|
Torsten Ruger
|
78f0108166
|
push more responsibility down to node
expose simple attribute
write long or short
many test got more compact, good
|
2015-06-17 21:16:39 +03:00 |
|
Torsten Ruger
|
72fa26b00e
|
make class a value
and minor others
|
2015-06-16 18:51:30 +03:00 |
|
Torsten Ruger
|
6f9d4af3cd
|
move array and hash
to _node names as that is what they are
|
2015-06-16 18:38:43 +03:00 |
|
Torsten Ruger
|
293ddb3b69
|
include list and dictionary as arr/hash
|
2015-06-16 18:13:27 +03:00 |
|
Torsten Ruger
|
389b5f9e1a
|
same - change as for array
|
2015-06-16 18:12:43 +03:00 |
|
Torsten Ruger
|
1ee0f7c006
|
add space after -
list items start with -
but without the space one can’t distinguish from -1
|
2015-06-16 18:11:56 +03:00 |
|
Torsten Ruger
|
224bd84b01
|
fix references (again)
quite tricky logic, but now outputting at lowest level, as intended
|
2015-06-15 09:07:16 +03:00 |
|
Torsten Ruger
|
037f8d80d2
|
Add missing comments
|
2015-06-15 08:21:15 +03:00 |
|
Torsten Ruger
|
941f0a4886
|
fixes references
only writes references out once (was broken)
and only the first occurrence in write order
|
2015-06-14 22:55:41 +03:00 |
|
Torsten Ruger
|
bdd67b3213
|
small fix
that doesn’t affect tests, hmm
|
2015-06-14 00:06:17 +03:00 |
|
Torsten Ruger
|
aebbe17252
|
shorten code
|
2015-06-14 00:05:10 +03:00 |
|
Torsten Ruger
|
9492f29e66
|
split node classes into separate files
|
2015-06-13 23:09:02 +03:00 |
|
Torsten Ruger
|
b00f49ade6
|
make to hash and array functions reusable for parfait
|
2015-05-20 10:41:05 +03:00 |
|
Torsten Ruger
|
c48b7a3403
|
object may define itself as value
by defining is_value and returning true
but then it must also define to_sof
|
2015-05-15 20:59:02 +03:00 |
|
Torsten Ruger
|
c8d35adef4
|
fix tests
|
2015-05-03 20:26:09 +03:00 |
|
Torsten Ruger
|
c73983b224
|
initial version externalized from salama
|
2015-05-03 20:16:06 +03:00 |
|