Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The mechanism for doing this is straightforward. When a namespace is created, th
the identity of a single module representing the desired dialect. The new namespace is initialized
with exactly the set of bindings exported by that module. The invoker can then add more bindings as
necessary before evaluating code. The same thing happens when declaring a module. Every module
declares it’s dialect explicitly: in the canonical prologue `(module M "/fusion" ...)` the new
declares its dialect explicitly: in the canonical prologue `(module M "/fusion" ...)` the new
module `M` declares its dialect to be the `/fusion` module. That dialect is generally the default
for non-module scripts and ad-hoc evaluation from a programmatic invoker, but all such facilities
allow explicit dialect control.
Expand Down Expand Up @@ -104,21 +104,18 @@ Currently accessible only via the Java embedding APIs, sandboxed evaluation is i
of the [`TopLevel`][TopLevel] interface produced by a `SandboxBuilder`. In a typical use case, this
embedding code:

```java
TopLevel top = myFusionRuntime.makeTopLevel();
```
TopLevel top = myFusionRuntime.makeTopLevel();

is replaced with this:

```java
SandboxBuilder b = myFusionRuntime.makeSandboxBuilder();
b.setLanguage("/fusion");
TopLevel top = b.build();
```
SandboxBuilder b = myFusionRuntime.makeSandboxBuilder();
b.setLanguage("/fusion");
TopLevel top = b.build();

> [!WARNING]
> The runtime currently has no guards around module loading, which would be needed to block access
> to the [FFI][] and to private modules in the standard library or other repositories.
**WARNING:**
The runtime currently has no guards around module loading, which would be needed to
block access to the [FFI][] and to private modules in the standard library or other
repositories.

[Sandboxed Evaluation]: https://docs.racket-lang.org/reference/Sandboxed_Evaluation.html
[Security Guards]: https://docs.racket-lang.org/reference/securityguards.html
Expand Down
3 changes: 2 additions & 1 deletion sdk/src/doc/articles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
This is the documentation for the [Ion Fusion Programming Language][home].

While the project has a long history, this site is very much **Work In Progress**. If you have any
questions, requests, or other feedback, please post to our [Discussion boards][discuss] or
questions, requests, or other feedback, please post to our [Discussion boards][discuss] or
[create a GitHub issue][new-issue] so we can keep improving.

[discuss]: https://github.com/orgs/ion-fusion/discussions
Expand All @@ -27,6 +27,7 @@ questions, requests, or other feedback, please post to our [Discussion boards][d
## Explanation

* [About the `fusion` CLI](about_cli.html)
* [About Fusion Security Mechanisms](about_security.html)


## Reference
Expand Down
3 changes: 3 additions & 0 deletions sdk/src/doc/templates/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ <h1>Explanation</h1>
<nav>
<a href='about_cli.html'>About the <code>fusion</code> CLI</a>
</nav>
<nav>
<a href='about_security.html'>About Security</a>
</nav>
</section>

<section>
Expand Down
Loading