Skip to content
Examples for the Limbo Programming Language
Limbo Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ADTs
Args-M stdlib modules have -M suffix for dir ;; frame for lists example Mar 18, 2019
Arrays
Channels
Constants
Exceptions
Function-Refs
Functions
Generics
HelloWorld
If-Else
Lists
Loops
Modules
Slices add slices example Mar 18, 2019
Spawn
Switch
Values
.gitignore
LICENSE
README.md

README.md

Limbo by Example

These are programming examples in the spirit of gobyexample, but targeted to the Limbo programming language.

These examples are tested on the purgatorio fork of the Inferno operating system.

Examples will, if they reference lines in source within an explanation, utilize a plumbable string (see: plumb(1)) which indicates the line - or range of lines - which the explanation references.

Examples are composed in acme(1) which allows you to right click these strings to jump to the relevant source lines.

If you'd like to try Inferno without installing, I recommend trying Pete's on-demand VNC: http://tryinferno.reverso.be/

The ; rune indicates a command to be run from the Inferno sh(1) shell.

Building

If a given example provides a mkfile:

; mk

Otherwise, there will only be one file, a Limbo source file which can be built with:

; limbo file.b

You could then run said file with:

; file

Index

Core language functionality:

Standard library modules:

References

You can’t perform that action at this time.