PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Cue

Cue

Cue is a data notation created in 2018 by Marcel van Lohuizen.

#431on PLDB 4Years Old 3.7kUsers
0Books 0Papers

Try now: Web

CUE has moved to https://github.com/cue-lang/cue


Example from the web:
#Spec: { kind: string name: { first: !="" // must be specified and non-empty middle?: !="" // optional, but must be non-empty when specified last: !="" } // The minimum must be strictly smaller than the maximum and vice versa. minimum?: int & <maximum maximum?: int & >minimum } // A spec is of type #Spec spec: #Spec spec: { knid: "Homo Sapiens" // error, misspelled field name: first: "Jane"

Language features

Feature Supported Example Token
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation ϴ
enso.html · cuelang.html · java-properties.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com