Garden 🌻

Manual

Keywords

as, assert, break, continue, else, enum, for, fun, if, import, in, let, match, method, public, return, shared, struct, test and while.

Operators

+ and +=.

Built-in Types

Bool, Fun, Int, List, Namespace, NoValue, Option, Path, Result, String, Tuple and Unit.

Prelude

These functions are available without importing anything.

dbg, get_env, print, println, range, shell, shell_arguments, source_directory, string_repr, throw and todo.

Filesystem __fs.gdn

list_directory, set_working_directory, working_directory and write_file.

Reflection __reflect.gdn

check_snippet, doc_comment, doc_comment_for_method, doc_comment_for_type, keywords, lex, methods_for_type, namespace_functions, operators, prelude_types, source_for_fun, source_for_method and source_for_type.