Measures Concepts
GitHub icon

Ren

Ren - Data notation

< >

Ren is a data notation created in 2013.

#1246on PLDB 11Years Old

Ren is a lightweight data-exchange text format. It is programming language independent with familiar conventions. Whitespace separates values, but is not significant beyond that. Ren has two main data structures: An ordered group of values, called a list; A collection of name/value pairs, called a map


Example from the web:
[] ; empty list #() ; empty map [a 1 true #three] ; non-empty list #(a: 1 b: "two") ; non-empty map "Ren Example 1" ; string -42 ; number 98.6 ; another number true ; literal true false ; literal false none ; literal nil/null/nada #( ; a bigger map quote: "็ฆ… saying: ^"ไป rocks!^"" utf-8: "^(CE91) to ^(cf89)" sci-phi: 0.1618e1 tax-rate: 3.9% price: $79.99 url: http://www.ren-data.org/ email: info@ren-data.org hashtag: #ren date: 2013-04-17/18:37:39-06:00 warning: 00:02 ; = 00:00:120.0 ip-addr: 127.0.0.1 geo-pos: 43.6x116.7x817 hex: 16#{DECAFBAD CAFE 00FF} base-64: 64#{UmVuIGlzIGRhdGE=} )

Language features

Feature Supported Token Example
Booleans โœ“ true false
Line Comments โœ“ ;
; A comment
Comments โœ“
Semantic Indentation X

View source

- Build the next great programming language ยท Search ยท Add Language ยท Features ยท Creators ยท Resources ยท About ยท Blog ยท Acknowledgements ยท Queries ยท Stats ยท Sponsor ยท Day 605 ยท feedback@pldb.io ยท Logout