Skip to content

Raven Libraries

import

For importing Raven libraries.

import <raven_library>

The format for importing is using dots to separate the path relative to your project entry point's directory (the main.rn, or whatever it is named)

Modules must have the file extension .rnm in order to be recognized as modules.

For example, the module located at {project_root}/calculator/infix/expressions.rnm would be referred to with:

import calculator.infix.expressions

This is how the module will be referred to from any .rn, no relative module paths, always absolute.