docs.rs failed to build regulus-0.0.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
regulus-0.0.13
Regulus
Regulus is a simple, interpreted language with very simple syntax and zero dependencies.
It is currently work in progress.
Example
import(range),
# sorts the given list in ascending order using bubblesort
def(bubblesort, seq, _(
=(l, len(seq)),
for_in(range(0, l), i, _(
for_in(range(i, l), j, _(
=(i_val, index(seq, i)),
=(j_val, index(seq, j)),
if(>(i_val, j_val), _(
=(seq, overwrite_at_index(seq, i, j_val)),
=(seq, overwrite_at_index(seq, j, i_val)),
))
))
)),
seq
))