Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Ron

Ron - Data notation

< >

Ron, aka Rusty Object Notation, is a data notation created in 2015 by Juniper Tyree.

#476on PLDB 8Years Old 2.3kUsers
0Books 0Papers

RON is a simple readable data serialization format that looks similar to Rust syntax. It's designed to support all of Serde's data model, so structs, enums, tuples, arrays, generic maps, and primitive values.


Example from the web:
GameConfig( // optional struct name window_size: (800, 600), window_title: "PAC-MAN", fullscreen: false, mouse_sensitivity: 1.4, key_bindings: { "up": Up, "down": Down, "left": Left, "right": Right, // Uncomment to enable WASD controls /* "W": Up, "A": Down, "S": Left, "D": Right, */ }, difficulty_options: ( start_difficulty: Easy, adaptive: false, ), )

Language features

Feature Supported Token Example
MultiLine Comments ✓ /* */
/* A comment
*/
Comments ✓
// A comment
Line Comments ✓ //
// A comment
Semantic Indentation X
textile.html · ron.html · microsoft-macro-assembler.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com