nest

A simple, line-oriented data serialisation format
git clone https://git.torresjrjr.com/nest.git
Log | Files | Refs | README | LICENSE

README.md (1456B)


      1 Nest
      2 ====
      3 
      4 Nest is a simple, line-oriented data serialisation format.
      5 
      6 Nest documents support one datatype, strings. Documents can be
      7 structured with nested maps or sequences. Each line is tab-indented and
      8 prefixed with a signifer. Multilined strings and comments are supported.
      9 
     10 Status: draft
     11 
     12 See [tutorial.md](tutorial.md).
     13 
     14 Example:
     15 
     16 	# Gemini Spacecraft On-Board Computer (OBC)
     17 
     18 	.host: aurelis-38
     19 	.type: Gemini Guidance Computer
     20 	.stat::
     21 		.frequency: 7.143 kHz
     22 		.power:     26 V DC
     23 		.weight:    26.75 kg
     24 
     25 	.reference system: barycentric celestial
     26 	.equinox: J2000.0 SOL
     27 
     28 	.systems enabled::
     29 		- InternalGuidanceSystem
     30 		#Attitude Control and Maneuver Electronics
     31 		- ACME v9.0.1
     32 		- HorizonSensors
     33 		- TimeReferenceSystem TCB
     34 
     35 	.station::
     36 		|Source Melchizedek.0294
     37 		# southern circumpolar constellation
     38 		|Approach β Hyi
     39 		|	Ascension 00h 25m 45.07036s
     40 		|	Declination –77° 15′ 15.2860″
     41 		|	Distance 24.33ly
     42 
     43 	.transmissions::
     44 		# QEC adjusted
     45 		--
     46 			.date: 3781
     47 			.note::
     48 				|Cryogenic stasis interrupted.
     49 				|
     50 				|The β Hyi system solar radiation has
     51 				|unbalanced our infrared venting,
     52 				|causing a 0.002° drift.
     53 		--
     54 			.date: 2444
     55 			.note::
     56 				|Our Pod 14 non-denominational coven voted to
     57 				|cast a spell to help you on your way!
     58 
     59 	.
     60 
     61 Implementations:
     62 
     63 - Python: [py-nest](https://git.sr.ht/~torresjrjr/py-nest)
     64 - Go: [go-nest](https://git.sr.ht/~torresjrjr/go-nest)
     65 
     66 Project hub: <https://sr.ht/~torresjrjr/nest/>