turbo-editors/turbo-golopublic Fork 0
main
Commits
Clone
git clone https://git.rickub.com/turbo-editors/turbo-golo.git
git clone ssh://git@rickub.com/turbo-editors/turbo-golo.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

📦 Turbo Golo d710c1b · on main · k33g · 12h ago
README.md · 17 lines · 953 Bmarkdown
Blame HistoryOpen raw

Demos

Three Golo programs to open in Turbo Golo. Each runs under golo, and the tests pass under golo --test:

Directory What it shows Run it
hello/ The smallest program: a module, a function, a greeting golo demos/hello/hello.golo
shapes/ Structs, a union with two variants, augmentations, closures and a comprehension — with a *_test.golo beside it golo demos/shapes/shapes.golo then golo --test demos/shapes
syntax-tour/ One of everything the scanner colours, each line of tour.golo running; lexer-only.golo beside it holds the tokens the lexer reads and the parser refuses, coloured but not runnable golo demos/syntax-tour/tour.golo

From the repository root:

turbo-golo demos/shapes/shapes.golo

Open one, press F9 for the project tree, and Alt-G for the Golo menu. Create the project's tools file from that menu and Run asks which script to run.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# Demos

Three Golo programs to open in Turbo Golo. Each runs under `golo`, and the tests pass under `golo --test`:

| Directory | What it shows | Run it |
| --- | --- | --- |
| `hello/` | The smallest program: a module, a function, a greeting | `golo demos/hello/hello.golo` |
| `shapes/` | Structs, a union with two variants, augmentations, closures and a comprehension — with a `*_test.golo` beside it | `golo demos/shapes/shapes.golo` then `golo --test demos/shapes` |
| `syntax-tour/` | One of everything the scanner colours, each line of `tour.golo` running; `lexer-only.golo` beside it holds the tokens the lexer reads and the parser refuses, coloured but not runnable | `golo demos/syntax-tour/tour.golo` |

From the repository root:

```bash
turbo-golo demos/shapes/shapes.golo
```

Open one, press `F9` for the project tree, and `Alt-G` for the Golo menu. Create the project's tools file from that menu and **Run** asks which script to run.