Notes

Working notes on Notes: List, Initialize, Append, Size, Index, and get.

UjnotesCC0 1.0

Working notes on Notes: List, Initialize, Append, Size, Index, and get.

Loosely typed.

Superset of Java.

Compiles to bytecode.

No semicolon.

String ‘’.

Eval String “”.

Expression in eval string $()
variable / function : def

List

Declare.

[].

Initialize

Initialize [<>, <> ...]

Append

<< <>

Size

.size().

Index

Index [<index>]

get

get .findAll{<expression>}

Operate

Operate *.<function>()

.collect{operation(it)}.

Map

Declare

[:].

Initialize

Initialize [<<Key>:<Value>>[,...]]

Key. String by default.

Append.

Put.

Access.

Get.

Loop

Loop <Number>.times { < > }
Loop <list/map>.each {<>}
Loop (<>..<>).each {}
Loop <Map>.each { key, value ->        println "${key} = ${value}"

Print

Print .println <string>
Print .render <string>
Updated: 2026 Aug 19