Skip to content

main.aug ​

Resource cleanup · Source and specification

Files in this project

Code ​

aug
// aug-spec: "main.aug.md" explains this file. Read it before changes; refresh with aug spec.
import Resource from resource
own Resource resource = Resource()
print(value="using resource")
aug
// aug-spec: "main.aug.md" explains this file. Read it before changes; refresh with aug spec.
import Resource from resource
own Resource resource = Resource()
print(value="using resource")

Compiled specification ​

Interactions and sequences

Startup ​

It creates Resource and stores the result in owned resource (Resource). It prints "using resource". source

Dependencies ​

It uses Resource from resource.

Built-in operations follow the language reference.

Last updated:

The world runs on language