-
Notifications
You must be signed in to change notification settings - Fork 12
Extension Functions and Data Structures
In Sandstorm, users can extend the types of computations that can be performed in a Sandstorm system. Users may write programs, operators, data structures, and functions and upload them to Sandstorm. Sandstorm compiles these programs into executable binaries and makes them available internally and externally as the user specifies.
All functions, including those in the core Sandstorm interface, have a namespace associate with them. Function signatures must be unique within their namespace.
Uploading a new function to an existing namespace is an additive operation, and will not destroy any old functions that live in that namespace.
Updating a function is allowed.
Deleting a function is allowed.
Each [USER LEVEL INSTANCE?] has a catalog where meta data is stored about the functions available in each namespace.
When you use a function from another namespace, you must import that function in the code you upload to Sandstorm. The scope of an import statement is just the file that the import statement is contained in.