Imports

In many languages, the beginning of a code file is filled with imports (also called use, require, or something like that). Sometimes these span the whole screen. This creates a lot extra typing, which is not necessary in Pastacode.

In pastacode, all the source files in the project are automatically available, you don’t need to import anything! This can easily save thousands of lines of code.

When running pasta, it automatically finds all the code in the directory and makes it available.

  • This means you can include dependencies, just by adding their code to your directory. It is common to put this in a directlry 0dependencies.

  • The pasta files are combined in alphabetical order of the full path.