Program development in Limbo

submited by
Style Pass
2025-08-02 11:30:05

The Shell entry in the start menu will provide a shell-interpreter window from which further commands can be run inside Inferno.

Limbo ‘libraries’, known as ‘modules’, and ‘programs’ are one and the same in terms of semantics, bar ‘libraries’ having module .m files which are similar to header .h files in C.

The init function is special in shell-loaded Limbo programs and its signature must match what the shell expects the init function interface to be.

Note the absence of a reserved main module. This is due to each .dis file, potentially an independent module, being theoretically loadable in its own right. A reserved name would cause significant issues with namespaces ☺.

Calling the limbo compiler each time is a bit of a pain, and if we start using commandline flags this will become tedious to type.

In acme, we could type the text we want to run in a tag or window and middle-click said text to run the compilation (or more!) on-demand. In Inferno, acme comes with a Limbo command in the default window tag, but that only works for one file.

Leave a Comment
Related Posts