FusionDSL v0.0.1-dev FusionDsl View Source

Fusion DSL main API.

This module is a standard interface for the following.

  • Managing packages.
  • Compiling Fusion Code (Lexing, AstProccess).
  • Configuring runtime enviornment.
  • Code execution.

Link to this section Summary

Types

Keywords used in package configs

Functions

Returns a list of configured packages in their original configuration format

Link to this section Types

Link to this type package_options() View Source
package_options() :: {:as, String.t()} | {:name, atom()}

Keywords used in package configs

  • :as: Defines name of module to be used inside fusion scripts. SnakeCase prefferred.
  • :name: An atom unique name for package. (In case of multiple use of same package)

Link to this section Functions

Link to this function get_packages() View Source
get_packages() :: [{atom(), [package_options()]}]

Returns a list of configured packages in their original configuration format

Link to this function test_ast_begin(filename \\ "test/samples/logical.fus") View Source