mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-23 18:29:50 -04:00
* gutenberg generates the documentation site * ucg configures the Google cloud storage bucket.
35 lines
727 B
Markdown
35 lines
727 B
Markdown
+++
|
|
title = "The UCG Language Reference"
|
|
slug = "reference"
|
|
weight = 2
|
|
sort_by = "weight"
|
|
in_search_index = true
|
|
+++
|
|
An Overview
|
|
-----------
|
|
|
|
UCG is a language specialized for generating configurations. It does not have classes,
|
|
inheritance, closures, or a full type system. All values are immutable once bound to
|
|
a name. A valid UCG file is composed of a series of statements. Statements can be
|
|
an expression, introduce named bindings, or create different outputs. All statements
|
|
must be terminiated by a semicolon.
|
|
|
|
Some words are reserved in ucg and can not be used as a named binding.
|
|
|
|
|
|
* self
|
|
* assert
|
|
* true
|
|
* false
|
|
* let
|
|
* import
|
|
* as
|
|
* select
|
|
* macro
|
|
* env
|
|
* map
|
|
* filter
|
|
* NULL
|
|
* out
|
|
|
|
Next: <a href="types">Types</a> |