Besides compiling individual
.act files, it is possible to organize Acton source files into a an Acton Project, which simplifies many common tasks.
actonc to create a project called
actonc new foo
Created project foo
Enter your new project directory with:
actonc build to build a project. The current working directory must be the project directory or a sub-directory to the project directory.
actonc will discover all source files and compile them according to dependency order.
main actor to any source file directly under
src/ to produce an executable binary. For example, if
src/hello.act contains a
main actor, it will produce
main as the root actor.