Sleipnir

module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: MIT

README

Sleipnir

image

The Sleipnir compiler compiles Yggdrasill code to WebAssembly or JavaScript

Installation

Sleipnir CLI can be installed through go install.

go install github.com/Ygg-Drasill/Sleipnir/cmd/sleipnir@latest

Testing

The main integration test uses samples located inside test/samples/valid and test/samples/valid. All invalid samples are expected to produce an error when compiled, while valid samples are expected to compile without errors. Optionally, for much higher test quality a result value can be expected from valid samples using the following format in the sample files:

<source code>
expect:<result>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL